evorepo/README

36 lines
928 B
Plaintext
Raw Normal View History

# License
See LICENSE file.
# Authors
See AUTHORS file.
2007-12-29 14:49:45 -08:00
# Dependencies
- python
2008-01-05 11:52:19 -08:00
- mysql-python or python-pysqlite
2010-06-16 20:42:14 -07:00
- Django >= 1.2.X
2007-12-29 14:49:45 -08:00
# Installation
For a simple testing installation:
2007-12-29 14:49:45 -08:00
1. Install dependencies.
2008-04-17 18:57:06 -07:00
$ 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
2008-01-08 18:37:12 -08:00
2008-10-10 15:38:08 -07:00
6. To optionally populate the database with real data:
$ wget ftp://ftp.archlinux.org/core/os/i686/core.db.tar.gz
2010-06-16 20:42:14 -07:00
$ ./manage.py reporead i686 core.db.tar.gz
2008-10-10 15:38:08 -07:00
(alter architecture and repo to get x86_64 and extra packages if needed)