Skip to content

Commit

Permalink
chore: Clarify loading of dummy data (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns authored Mar 18, 2024
1 parent e3f1463 commit a33bb3c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,23 @@ When you run the application for the first time, you need to run the following c
docker exec -it laravel bash
cd mpmanager
php artisan sharding:initialize
```

This command will create the central database which is required for MPM to function.

If you want to load sample (dummy) data for testing run:

```bash
docker exec -it laravel bash
cd mpmanager
php artisan dummy:create-company-with-dummy-data
php artisan migrator:copy
php artisan migrator:migrate
```

These commands will create the central database and the first company database. The first company database will have
dummy data.
This commands will create the first company database with dummy data from a snapshot.
It will then apply any migrations that have been added to the application after the snapshot has been taken.

You can use the following credentials to login to the application:

```sh
Expand Down

0 comments on commit a33bb3c

Please sign in to comment.