Testing
Go to file
Thomas Bächler 71d79f133b Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to archweb_dev. This is the original commit message by Dan:
"Make package SVN links always work

This should clean up the links for all varieties of things- different arches
(including any), different repos (community and community-testing), and
split packages. All of the logic is in one place now and any further changes
should be made to the method on the package object."
2009-10-17 23:47:09 +02:00
devel Add a basic mirror view for the dev site 2009-09-15 20:14:06 -05:00
main Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to archweb_dev. This is the original commit message by Dan: 2009-10-17 23:47:09 +02:00
media Apparently you couldn't view the packages page if the user wasn't logged into the admin. 2009-08-18 10:31:18 -06:00
news drop some unused imports 2008-10-05 21:41:08 -04:00
packages Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to archweb_dev. This is the original commit message by Dan: 2009-10-17 23:47:09 +02:00
scripts reporead: don't blow up on division by zero 2009-10-13 19:38:42 -05:00
templates Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to archweb_dev. This is the original commit message by Dan: 2009-10-17 23:47:09 +02: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 No More Doh 2009-05-04 20:30:09 -04: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 Add a page to aid Aaron in user creation. 2009-08-10 15:47:02 -04:00
TODO drop a couple completed to-dos and blank lines 2008-10-11 20:07:26 -04:00
urls.py Make community-testing accessable 2009-09-26 11:07:34 -05: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)