Testing
Go to file
2008-04-16 19:51:29 -07:00
devel Removed login_required from the individual views. 2008-04-09 22:43:07 -07:00
main Refactored the urlize sections to remove display/view data from the model. 2008-04-11 21:35:29 -07:00
media Fix for dev image weirdness. 2008-04-09 21:41:26 -07:00
news Moved models around 2008-03-08 00:13:41 -08:00
packages Removed login_required from the individual views. 2008-04-09 22:43:07 -07:00
scripts Changed to arches and repos in the db. 2008-04-09 19:28:24 -07:00
templates fixes for changes in the model dealing with the urlize -> get_* refactor 2008-04-11 21:36:18 -07:00
todolists Removed login_required from the individual views. 2008-04-09 22:43:07 -07:00
wiki Removed login_required from the individual views. 2008-04-09 22:43:07 -07:00
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
.gitignore updated gitignore 2008-04-16 18:39:04 -07: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 update 2008-04-11 21:35:49 -07: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 Added default charset setting value 2008-04-16 19:51:29 -07: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.