Document how to generate the test data.

Signed-off-by: Nathan Jones <nathanj@insightbb.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Nathan Jones 2008-12-03 09:36:58 -05:00 committed by Loui Chang
parent f285da5d57
commit b87c8a4ba8
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
web/lib/config.inc web/lib/config.inc
*.DS_Store *.DS_Store
web/html/xml/*.xml web/html/xml/*.xml
support/schema/dummy-data.sql.bz2

View file

@ -73,7 +73,11 @@ Setup on Arch Linux:
(give password 'aur' at the prompt) (give password 'aur' at the prompt)
- Optionally load some test data for development purposes. - 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) (give password 'aur' at the prompt)
7) Copy the config.inc.proto file to config.inc. Modify as needed. 7) Copy the config.inc.proto file to config.inc. Modify as needed.