Skip to content
Snippets Groups Projects
Commit f41f090e authored by Christian Heusel's avatar Christian Heusel :rocket: Committed by Leonidas Spyropoulos
Browse files

simplify the docker development setup instructions


use `docker compose exec` instead of `docker ps` and `docker exec`

Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent 0e44687a
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,10 @@ docker compose run test
### Generating Dummy Data
Before you can make meaningful queries to the cluster, it needs some data.
Luckily such data can be generated. First, `docker ps` to discover the ID of the
container running the FastAPI. Then:
Luckily such data can be generated.
```sh
docker exec -it <id> /bin/bash
docker compose exec fastapi /bin/bash
pacman -S words fortune-mod
./schema/gendummydata.py dummy.sql
mysql aurweb < dummy.sql
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment