evorepo/README

31 lines
783 B
Plaintext
Raw Normal View History

# License
See LICENSE file.
# Authors
See AUTHORS file.
2007-12-29 14:49:45 -08:00
# Dependencies
- python
2008-01-05 11:52:19 -08:00
- mysql-python or python-pysqlite
2007-12-29 14:49:45 -08:00
- Django = 0.96
2007-12-29 14:49:45 -08:00
# Installation
For a simple testing installation:
2007-12-29 14:49:45 -08:00
1. Install dependencies.
2008-01-05 11:52:19 -08:00
pacman -S django python-pysqlite sqlite3
2008-01-05 16:16:36 -08:00
2. Fetch adn Extract test database
2008-01-05 16:01:48 -08:00
For simple testing, sqlite is a good option. We have provided an
example test database.
2008-01-05 16:16:36 -08:00
wget http://dev.archlinux.org/~eliott/archweb_sqlite.db.gz -O - | zcat > archweb.db
2008-01-05 11:52:19 -08:00
2008-01-05 16:01:48 -08:00
3. Copy local_settings.py.example to local_settings.py and modify
Make sure to uncomment the sqlite section.
2008-01-05 11:52:19 -08:00
2007-12-29 14:49:45 -08:00
4. Use the following commands to start a service instance
export PYTHONPATH=`pwd`:${PYTHONPATH}
export DJANGO_SETTINGS_MODULE=archweb_dev.settings
python manage.py runserver