summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-01-05 20:52:19 +0100
committereliott <eliott@cactuswax.net>2008-01-05 20:52:19 +0100
commit2582fd62cc2e7c88a068d35ff606a3561184c2cd (patch)
tree2cbb535327078df2b908652abbbdcd7b7981c2a1 /README
parentec3c9631e438047c3f66e1af618d4f93b4b6d1cb (diff)
downloadarchweb-2582fd62cc2e7c88a068d35ff606a3561184c2cd.tar.gz
archweb-2582fd62cc2e7c88a068d35ff606a3561184c2cd.tar.xz
Updated readme with some more data
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 11 insertions, 1 deletions
diff --git a/README b/README
index cf1c715..5f19c2c 100644
--- a/README
+++ b/README
@@ -6,15 +6,25 @@
# Dependencies
- python
- - mysql-python
+ - mysql-python or python-pysqlite
- Django = 0.96
# Installation
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.
+
3. Populate database with test data
+ Run ./scripts/testing/load_data.bash
+
4. Use the following commands to start a service instance
export PYTHONPATH=`pwd`:${PYTHONPATH}
export DJANGO_SETTINGS_MODULE=archweb_dev.settings