mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
simplify the docker development setup instructions
use `docker compose exec` instead of `docker ps` and `docker exec` Signed-off-by: Christian Heusel <christian@heusel.eu>
This commit is contained in:
parent
0e44687ab1
commit
f41f090ed7
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue