summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Laíns <lains@archlinux.org>2020-08-13 16:46:02 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2021-02-20 17:25:21 +0100
commitdb75a5528e45c13a427813c177bf9657a1cb8350 (patch)
tree1b19b2c4fe10207ce05dddbbadebb21869b7fa0a
parente62d472708e722e6123f9bfa01d2c32ec9838755 (diff)
downloadaur-db75a5528e45c13a427813c177bf9657a1cb8350.tar.gz
aur-db75a5528e45c13a427813c177bf9657a1cb8350.tar.xz
doc: simplify database setup instructions in TESTING
Signed-off-by: Filipe Laíns <lains@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--TESTING6
1 files changed, 3 insertions, 3 deletions
diff --git a/TESTING b/TESTING
index d666b3ca..972bce2c 100644
--- a/TESTING
+++ b/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: