summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-16 01:16:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-16 01:16:52 -0400
commit7aabbe788bb4e26ee9c7cfc0e18692b487e11099 (patch)
treee1032beb86e35caafb164e694d2aa7e2e9664de2 /README.md
parent046e6c8b6152a8142ed838e5c406cc04c18f2533 (diff)
parent155bf43a28e404f327a7bcff214c22e212627673 (diff)
Merge branch 'archweb-generic'
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 13 insertions, 10 deletions
diff --git a/README.md b/README.md
index b2a45c47..7754d961 100644
--- a/README.md
+++ b/README.md
@@ -43,15 +43,15 @@ packages, you will probably want the following:
1. Run `virtualenv2`.
- $ cd /path/to/archweb && virtualenv2 ./env/
+ cd /path/to/archweb && virtualenv2 ./env/
2. Activate the virtualenv.
- $ source ./env/bin/activate
+ source ./env/bin/activate
2. Install dependencies through `pip`.
- (archweb-env) $ pip install -r requirements.txt
+ pip install -r requirements.txt
3. Copy `local_settings.py.example` to `local_settings.py` and modify.
Make sure to uncomment the appropriate database section (either sqlite or
@@ -59,26 +59,29 @@ packages, you will probably want the following:
4. Sync the database to create it.
- (archweb-env) $ ./manage.py syncdb
+ ./manage.py syncdb
5. Migrate changes.
- (archweb-env) $ ./manage.py migrate
+ ./manage.py migrate
6. Load the fixtures to prepopulate some data. If you don't want some of the
provided data, adjust the file glob accordingly.
- (archweb-env) $ ./manage.py loaddata */fixtures/*.json
+ ./manage.py loaddata main/fixtures/*.json
+ ./manage.py loaddata devel/fixtures/*.json
+ ./manage.py loaddata mirrors/fixtures/*.json
+ ./manage.py loaddata releng/fixtures/*.json
7. Use the following commands to start a service instance
- (archweb-env) $ ./manage.py runserver
+ ./manage.py runserver
8. To optionally populate the database with real data:
- (archweb-env) $ wget ftp://ftp.archlinux.org/core/os/i686/core.db.tar.gz
- (archweb-env) $ ./manage.py reporead i686 core.db.tar.gz
- (archweb-env) $ ./manage.py syncisos
+ wget http://mirrors.kernel.org/archlinux/core/os/i686/core.db.tar.gz
+ ./manage.py reporead i686 core.db.tar.gz
+ ./manage.py syncisos
Alter architecture and repo to get x86\_64 and packages from other repos if
needed.