---
title: "Demo"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:installation-demo@main"
source: "Installation/Demo.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Demo {#installation-demo}

Try adsum locally with ddev and a demo company.

## Quick start {#quick-start}

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

    ```bash
    ddev start
    ```
1.  Build the frontend:

    ```bash
    ddev vite
    ```
1.  Load the demo company. This erases the database:

    ```bash
    ddev demo
    ```
1.  Open [https://adsum.ddev.site](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 {#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 {#second-factor}

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

```text
JBSWY3DPEHPK3PXP
```

Or create one on the command line:

```bash
oathtool --totp -b JBSWY3DPEHPK3PXP
```

## Sent e-mails {#sent-e-mails}

The demo delivers all e-mails to Mailpit:

```bash
ddev mailpit
```

## Working with the demo {#working-with-the-demo}

Rebuild the demo (erases all changes):

```bash
ddev demo
```

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

```bash
ddev update
```

Rebuild the frontend on every change:

```bash
ddev vite --watch
```

Run a console command:

```bash
ddev exec bin/console <command>
```

Open a PostgreSQL shell:

```bash
ddev psql
```

Follow the application log:

```bash
ddev exec tail -f var/log/dev.log
```

## Demo data {#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 {#screenshots}

The screenshots of this manual show the demo company. To take fresh ones:

```bash
Build/Scripts/runTests.sh -s screenshots
```

They are written to `Documentation/Images/Handbook/`.
