Testing
Go to file
2008-04-05 13:42:01 -07:00
devel Fix for FS#9554 2008-04-05 13:27:10 -07:00
main Fix for FS#9554 2008-04-05 13:27:10 -07:00
media Implemented todolist javascript sorting 2008-04-05 13:26:48 -07:00
news Moved models around 2008-03-08 00:13:41 -08:00
packages Anyone can now unflag an out of date package. 2008-03-22 21:03:54 -07:00
scripts moving the reporead parser utility into the archweb_dev root. 2008-03-22 19:52:33 -07:00
templates small fix to todolists 2008-04-05 13:42:01 -07:00
todolists small fix to todolists 2008-04-05 13:42:01 -07: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 cleanup 2008-03-08 00:38:48 -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.