Testing
Go to file
Ismael Carnales c6564e2c5b Remove default debug setting in main settings
Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-15 03:04:03 -02:00
devel added login_required to devel views 2009-11-09 22:24:49 -02:00
main removed RequireLoginMiddleware 2009-11-09 22:24:38 -02:00
media changed landing view 2009-11-09 22:24:41 -02:00
mirrors use RequestContext in mirrors.views.choose 2009-11-09 22:24:48 -02: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 Fix highlighting on main site tabs 2009-11-10 17:52:29 -02:00
scripts reporead: don't blow up on division by zero 2009-10-13 19:38:42 -05:00
templates Fix highlighting on main site tabs 2009-11-10 17:52:29 -02: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)