summarylogtreecommitdiffstats
path: root/archweb-git.install
diff options
context:
space:
mode:
authorM0Rf302015-06-17 15:21:50 +0200
committerM0Rf302015-06-17 15:21:50 +0200
commit1c8dcdedfca6a26de49b2dda5896369f485414cc (patch)
tree07fe92ad1dcdc6367df050cd74216096b57ca615 /archweb-git.install
downloadaur-1c8dcdedfca6a26de49b2dda5896369f485414cc.tar.gz
Initial import
Diffstat (limited to 'archweb-git.install')
-rw-r--r--archweb-git.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/archweb-git.install b/archweb-git.install
new file mode 100644
index 000000000000..35761422b055
--- /dev/null
+++ b/archweb-git.install
@@ -0,0 +1,22 @@
+
+post_install() {
+
+echo "1. Copy local_settings.py.example to local_settings.py and modify."
+echo " Make sure to uncomment the appropriate db section (either sqlite or mysql)."
+echo ""
+echo " 2. Sync the database to create it."
+echo " $ python manage.py syncdb"
+echo ""
+echo " 3. Load the fixtures to prepopulate some data."
+echo " $ python manage.py loaddata arches.json repos.json"
+echo ""
+echo " 4. Use the following commands to start a service instance"
+echo " $ python manage.py runserver"
+echo ""
+echo " 5. To optionally populate the database with real data:"
+echo " $ wget ftp://ftp.archlinux.org/core/os/i686/core.db.tar.gz"
+echo " $ scripts/reporead.py i686 ./core.db.tar.gz"
+echo ""
+echo " (alter architecture and repo to get x86_64 and extra packages if needed)"
+}
+