[4/4] doc: simplify database setup instructions in TESTING

Message ID 20200813144600.3703433-4-lains@archlinux.org
State New
Headers show
Series
  • [1/4] spawn: expand AUR_CONFIG to the full path
Related show

Commit Message

Filipe Laíns Aug. 13, 2020, 2:46 p.m. UTC
Signed-off-by: Filipe Laíns <lains@archlinux.org>
---
 TESTING | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

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: