Testing
Go to file
Dan McGee a166e890b7 Run optipng on all images/logos
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30 13:55:54 -06:00
devel Use select_related() for some mirror pages 2010-01-30 13:53:11 -06:00
main Drastically reduce loading time of Todo lists 2010-01-30 13:08:44 -06:00
media Run optipng on all images/logos 2010-01-30 13:55:54 -06:00
mirrors Use select_related() for some mirror pages 2010-01-30 13:53:11 -06:00
news modified import paths from archweb_dev to archweb 2009-11-09 22:24:34 -02:00
packages added permission required to protected packages views 2009-11-10 18:22:54 -02:00
public Add basic tests to public app 2009-12-01 23:26:04 -02:00
scripts reporead: don't blow up on division by zero 2009-10-13 19:38:42 -05:00
templates Add Costa Rica IRC channel 2010-01-30 12:57:32 -06:00
todolists added login_required to protect todolists views 2009-11-10 18:32:47 -02:00
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
.gitignore No More Doh 2009-05-04 20:30:09 -04:00
AUTHORS update documentation 2008-10-10 18:38:08 -04:00
feeds.py added feeds from archweb_pub 2009-11-09 22:24:44 -02: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 added dummy cache setting to local_settings 2009-11-12 22:34:08 -02: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 default debug setting in main settings 2009-11-15 03:04:03 -02:00
sitemaps.py added sitemaps from archweb_pub 2009-11-09 22:24:45 -02:00
TODO drop a couple completed to-dos and blank lines 2008-10-11 20:07:26 -04:00
urls.py added missing packages views from archweb_pub 2009-11-09 22:24:52 -02: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)