Testing
Go to file
2008-03-08 00:13:41 -08:00
devel Moved models around 2008-03-08 00:13:41 -08:00
main Moved models around 2008-03-08 00:13:41 -08:00
media Cherry pick of Thayer's archweb_pub retheme work 2008-01-10 00:23:31 -08:00
news Moved models around 2008-03-08 00:13:41 -08:00
packages Moved models around 2008-03-08 00:13:41 -08:00
scripts removed helper script 2007-12-29 14:53:21 -08:00
templates Fix for testing cvs links 2008-02-26 18:36:20 -08:00
todolists Moved models around 2008-03-08 00:13:41 -08:00
wiki Moved models around 2008-03-08 00:13:41 -08:00
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
.gitignore updated ignore 2008-01-05 17:10:34 -08:00
AUTHORS Cherry pick of Thayer's archweb_pub retheme work 2008-01-10 00:23:31 -08:00
HACKING Added hacking doc. 2007-11-06 21:02:33 -05:00
LICENSE Initial import for public release... 2007-11-03 03:45:10 -04:00
local_settings.py.example Fixed localsettings.py.example 2008-01-10 01:13:40 -08:00
manage.py Massive retab fest. 2007-12-29 16:42:55 -08:00
README Cherry pick of Thayer's archweb_pub retheme work 2008-01-10 00:23:31 -08:00
settings.py Moved models around 2008-03-08 00:13:41 -08:00
urls.py Removed feeds from devsite 2007-12-30 10:14:26 -08:00

# 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 and 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

 5. The test database has a few test accounts in it.
   To login, use the following credentails.
   User: admin
   Pass: pass

   You can then reset the password on any of the test users by
   going into the django admin interface and doing so.