From d716d6481075f85766354f59f15f8895f66a60cd Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 5 Jan 2008 16:01:48 -0800 Subject: Updated docs --- README | 14 ++++++-------- local_settings.py.example | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README b/README index 5f19c2cf..1eeab4df 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} diff --git a/local_settings.py.example b/local_settings.py.example index c6f31603..031e3b6a 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -10,7 +10,7 @@ ADMINS = ( ## Sqlite Database settings #DATABASE_ENGINE = 'sqlite3' -#DATABASE_NAME = 'archlinux.db' +#DATABASE_NAME = 'archweb.db' ## MySQL Database settings #DATABASE_ENGINE = 'mysql' -- cgit v1.2.3-55-g3dc8