mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
e62d472708
commit
db75a5528e
1 changed files with 3 additions and 3 deletions
6
TESTING
6
TESTING
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue