summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Jones <nathanj@insightbb.com>2008-12-03 09:36:58 -0500
committerLoui Chang <louipc.ist@gmail.com>2008-12-03 14:50:04 -0500
commitb87c8a4ba8aab577efdf7ff253392fe8c6f6f964 (patch)
tree7575951609cb05893819c5efa1acecbcd05ecedf
parentf285da5d5715d2830578aa955a5490f7cfa403ab (diff)
downloadaurweb-b87c8a4ba8aab577efdf7ff253392fe8c6f6f964.tar.xz
Document how to generate the test data.
Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--.gitignore1
-rw-r--r--web/README6
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index c1c6d56..4085fb7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
web/lib/config.inc
*.DS_Store
web/html/xml/*.xml
+support/schema/dummy-data.sql.bz2
diff --git a/web/README b/web/README
index b0e6c39..e15f88a 100644
--- a/web/README
+++ b/web/README
@@ -73,7 +73,11 @@ Setup on Arch Linux:
(give password 'aur' at the prompt)
- Optionally load some test data for development purposes.
- # bzcat ~/aur/support/schema/dummy-data.sql.bz2 | mysql -uaur -p AUR
+ # pacman -S words mysql-python
+ # cd ~/aur/support/schema/
+ # python gendummydata.py dummy-data.sql
+ # bzip2 dummy-data.sql
+ # bzcat dummy-data.sql.bz2 | mysql -uaur -p AUR
(give password 'aur' at the prompt)
7) Copy the config.inc.proto file to config.inc. Modify as needed.