summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-01-06 01:01:48 +0100
committereliott <eliott@cactuswax.net>2008-01-06 01:18:20 +0100
commitd716d6481075f85766354f59f15f8895f66a60cd (patch)
tree70e11ecb63de1d98e86c9d8727327d1ee1c799b0 /README
parent424d2a77302c4436148a560d429cc23e9d387e76 (diff)
downloadarchweb-d716d6481075f85766354f59f15f8895f66a60cd.tar.gz
archweb-d716d6481075f85766354f59f15f8895f66a60cd.tar.xz
Updated docs
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 6 insertions, 8 deletions
diff --git a/README b/README
index 5f19c2c..1eeab4d 100644
--- a/README
+++ b/README
@@ -14,16 +14,14 @@ For a simple testing installation:
1. Install dependencies.
pacman -S django python-pysqlite sqlite3
- or
- pacman -S django mysql mysql-python
- 2. Configure database
- For simple testing, sqlite is a good option.
- If using mysql, create a database, and a user with permission to
- that database.
+ 2. Extract test database
+ For simple testing, sqlite is a good option. We have provided an
+ example test database.
+ gzip -cd ./testing/database/archweb_sqlite.db.gz > archweb.db
- 3. Populate database with test data
- Run ./scripts/testing/load_data.bash
+ 3. Copy local_settings.py.example to local_settings.py and modify
+ Make sure to uncomment the sqlite section.
4. Use the following commands to start a service instance
export PYTHONPATH=`pwd`:${PYTHONPATH}