[aur-dev] [PATCH] Document how to generate the test data.

Nathan Jones nathanj at insightbb.com
Wed Dec 3 09:36:58 EST 2008


Signed-off-by: Nathan Jones <nathanj at insightbb.com>
---
 .gitignore |    1 +
 web/README |    6 +++++-
 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.
-- 
1.6.0.4




More information about the aur-dev mailing list