Demo
Try adsum locally with ddev and a demo company.
Quick start
-
Start ddev. This installs the Composer packages and runs the migrations:
ddev startCopied! -
Build the frontend:
ddev viteCopied! -
Load the demo company. This erases the database:
ddev demoCopied! - Open https://adsum.ddev.site and log in with one of the demo accounts.
ddev also runs the Messenger worker and a Mercure hub.
Demo accounts
Every account has the password correct horse battery staple.
| Account | Role |
|---|---|
ben@example. | Employee, with one forgotten clock-out on the most recent day |
anna@example. | Manager of Ben; leads the planning team "Web team" of Ben and Fiona |
gustav@example. | Manager of Fiona; plans for everybody in resource planning |
carla@example. | HR; second factor required |
erik@example. | Administrator; second factor required |
Second factor
Carla and Erik need a one-time code. Add this secret to an authenticator app:
JBSWY3DPEHPK3PXP
Or create one on the command line:
oathtool --totp -b JBSWY3DPEHPK3PXP
Sent e-mails
The demo delivers all e-mails to Mailpit:
ddev mailpit
Working with the demo
Rebuild the demo (erases all changes):
ddev demo
Update after pulling changes (composer install, migrations, frontend build):
ddev update
Rebuild the frontend on every change:
ddev vite --watch
Run a console command:
ddev exec bin/console <command>
Open a PostgreSQL shell:
ddev psql
Follow the application log:
ddev exec tail -f var/log/dev.log
Demo data
ddev demo loads:
- The company "Muster GmbH"
- The five people with a login above, and further colleagues without a login, with departments, positions, employments and reporting lines
- Two locations, Munich and Hamburg, with their public holidays
- The working-time models "Full time" and "Part time 30 hours", assigned to everyone
- Time tracking switched on, with the punches of the last ten working days, already calculated
Screenshots
The screenshots of this manual show the demo company. To take fresh ones:
Build/Scripts/runTests.sh -s screenshots
They are written to Documentation/.