Demo 

Try adsum locally with ddev and a demo company.

Quick start 

  1. Start ddev. This installs the Composer packages and runs the migrations:

    ddev start
    Copied!
  2. Build the frontend:

    ddev vite
    Copied!
  3. Load the demo company. This erases the database:

    ddev demo
    Copied!
  4. 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.de Employee, with one forgotten clock-out on the most recent day
anna@example.de Manager of Ben; leads the planning team "Web team" of Ben and Fiona
gustav@example.de Manager of Fiona; plans for everybody in resource planning
carla@example.de HR; second factor required
erik@example.de Administrator; second factor required

Second factor 

Carla and Erik need a one-time code. Add this secret to an authenticator app:

JBSWY3DPEHPK3PXP
Copied!

Or create one on the command line:

oathtool --totp -b JBSWY3DPEHPK3PXP
Copied!

Sent e-mails 

The demo delivers all e-mails to Mailpit:

ddev mailpit
Copied!

Working with the demo 

Rebuild the demo (erases all changes):

ddev demo
Copied!

Update after pulling changes (composer install, migrations, frontend build):

ddev update
Copied!

Rebuild the frontend on every change:

ddev vite --watch
Copied!

Run a console command:

ddev exec bin/console <command>
Copied!

Open a PostgreSQL shell:

ddev psql
Copied!

Follow the application log:

ddev exec tail -f var/log/dev.log
Copied!

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
Copied!

They are written to Documentation/Images/Handbook/.