Testing
Go to file
Dusty Phillips 293aff6ec1 DOH
2009-05-04 20:29:33 -04:00
devel Put maintainer list by last name. 2009-01-30 18:50:13 -05:00
main Make donor name unique 2009-04-02 21:49:30 -05:00
media Update admin_media to latest Django version 2009-02-07 16:38:33 -06:00
news drop some unused imports 2008-10-05 21:41:08 -04:00
packages Fix a bug when someone accesses the update page without POSTINg adopt or disown. Probably occurred by a press of the back button. 2009-05-04 20:24:41 -04:00
scripts reporead: dramatically reduce number of queries 2009-04-06 00:16:54 -05:00
templates DOH 2009-05-04 20:29:33 -04:00
todolists drop some print statements 2008-10-11 20:09:15 -04: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 update documentation 2008-10-10 18:38:08 -04:00
HACKING update documentation 2008-10-10 18:38:08 -04: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 update documentation 2008-10-10 18:38:08 -04:00
settings.py Remove caching crud from archweb_dev 2008-11-27 20:35:49 -05:00
TODO drop a couple completed to-dos and blank lines 2008-10-11 20:07:26 -04:00
urls.py drop useless view 2008-10-10 18:51:06 -04:00

# License
 See LICENSE file.

# Authors
 See AUTHORS file.

# Dependencies
 - python
 - mysql-python or python-pysqlite
 - Django = 1.0

# Installation
For a simple testing installation:

 1. Install dependencies.
    $ pacman -S django python-pysqlite sqlite3
 
 2. Copy local_settings.py.example to local_settings.py and modify.
    Make sure to uncomment the appropriate db section (either sqlite or mysql).

 3. Sync the database to create it.
    $ python manage.py syncdb

 4. Load the fixtures to prepopulate some data.
    $ python manage.py loaddata arches.json repos.json
    
 5. Use the following commands to start a service instance
    $ python manage.py runserver

 6. To optionally populate the database with real data:
    $ wget ftp://ftp.archlinux.org/core/os/i686/core.db.tar.gz
    $ scripts/reporead.py i686 ./core.db.tar.gz

    (alter architecture and repo to get x86_64 and extra packages if needed)