Testing
Go to file
Dan McGee 8d53e928f6 Mirror rsync IP: allow netmask specification
Noticed this was necessary while trying to get all the rsync IPs into the
database.

Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-07 16:32:41 -06:00
devel Put maintainer list by last name. 2009-01-30 18:50:13 -05:00
main Mirror rsync IP: allow netmask specification 2009-02-07 16:32:41 -06:00
media Make the dashboard stats collapsed by default. 2009-01-16 18:44:06 -05:00
news drop some unused imports 2008-10-05 21:41:08 -04:00
packages drop a couple completed to-dos and blank lines 2008-10-11 20:07:26 -04:00
scripts remove unneeded script 2009-02-07 11:56:37 -06:00
templates Remove unneeded link for the dev site 2009-02-07 11:56:37 -06: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)