From b87c8a4ba8aab577efdf7ff253392fe8c6f6f964 Mon Sep 17 00:00:00 2001
From: Nathan Jones <nathanj@insightbb.com>
Date: Wed, 3 Dec 2008 09:36:58 -0500
Subject: [PATCH] Document how to generate the test data.

Signed-off-by: Nathan Jones <nathanj@insightbb.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
---
 .gitignore | 1 +
 web/README | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index c1c6d56f2..4085fb7f3 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 b0e6c39ff..e15f88a3a 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.
-- 
GitLab