mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Explain how to populate dummy data for TESTING
Signed-off-by: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
This commit is contained in:
parent
28970ccc91
commit
d6fa4ec5a8
1 changed files with 10 additions and 0 deletions
10
TESTING
10
TESTING
|
@ -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
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue