doc: simplify database setup instructions in TESTING

Signed-off-by: Filipe Laíns <lains@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Filipe Laíns 2020-08-13 15:46:02 +01:00 committed by Lukas Fleischer
parent e62d472708
commit db75a5528e

View file

@ -30,11 +30,11 @@ INSTALL.
4) Prepare the testing database:
$ cd /path/to/aurweb/
$ AUR_CONFIG=conf/config python -m aurweb.initdb
$ cd /path/to/aurweb/schema
$ ./gendummydata.py out.sql
$ sqlite3 path/to/aurweb.sqlite3 < out.sql
$ schema/gendummydata.py data.sql
$ sqlite3 aurweb.sqlite3 < data.sql
5) Run the test server: