Explain how to populate dummy data for TESTING

Signed-off-by: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
This commit is contained in:
Hugo Osvaldo Barrera 2022-07-19 18:29:26 +02:00
parent 28970ccc91
commit d6fa4ec5a8

10
TESTING
View file

@ -31,6 +31,16 @@ docker-compose
Python: https://localhost:8444/ Python: https://localhost:8444/
PHP: https://localhost:8443/ PHP: https://localhost:8443/
5) [Optionally] populate the database with dummy data:
$ docker-compose up mariadb
$ docker-compose exec mariadb /bin/sh
# pacman -S --noconfirm words fortune-mod
# poetry run schema/gendummydata.py dummy_data.sql
# mysql -uaur -paur aurweb < dummy_data.sql
Inspect `dummy_data.sql` for test credentials. Passwords match usernames.
Bare Metal Bare Metal
---------- ----------