Testing
4aee4dd236
moved cache controls to local_settings |
||
---|---|---|
devel | ||
lib | ||
media | ||
news | ||
packages | ||
scripts | ||
templates | ||
todolists | ||
wiki | ||
__init__.py | ||
.gitignore | ||
AUTHORS | ||
HACKING | ||
LICENSE | ||
local_settings.py.example | ||
manage.py | ||
README | ||
settings.py | ||
urls.py |
# License See LICENSE file. # Authors See AUTHORS file. # Dependencies - python - mysql-python or python-pysqlite - Django = 0.96 # Installation For a simple testing installation: 1. Install dependencies. pacman -S django python-pysqlite sqlite3 2. Fetch adn Extract test database For simple testing, sqlite is a good option. We have provided an example test database. wget http://dev.archlinux.org/~eliott/archweb_sqlite.db.gz -O - | zcat > archweb.db 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} export DJANGO_SETTINGS_MODULE=archweb_dev.settings python manage.py runserver