summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 11 insertions, 1 deletions
diff --git a/README b/README
index cf1c715f..5f19c2cf 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