Skip to content
Browse files

Instructions for running migrations

  • Loading branch information...
1 parent 651e0ec commit a32200c9a20ffcc5b0c8c86575e50db1b5a01b13 @guaq guaq committed Sep 29, 2013
Showing with 13 additions and 6 deletions.
  1. +13 −6 README.txt
View
19 README.txt
@@ -27,13 +27,20 @@ source env/bin/activate
# Compile translations
./run-sikteeri.sh
-MIGRATIONS INITIALIZATION
-=========================
+RUNNING MIGRATIONS IN PRODUCTION
+================================
+
+./manage.py migrate # Migrate all installed apps.
+./manage.py syncdb # Ensure that permissions are there.
+
+MIGRATIONS INITIALIZATION FOR DEPLOYMENTS < 1.2.4
+=================================================
+
+pip install -r ../requirements.txt # Install South.
+./manage.py syncdb # Initialize South tables.
+./manage.py migrate services 0001 --fake # Fake initial migration.
+./manage.py migrate membership 0001 --fake # Fake initial migration.
-pip install -r ../requirements.txt # install South
-PYTHONPATH=.. ./manage.py syncdb # South's tables initialized
-PYTHONPATH=.. ./manage.py migrate services 0001 --fake # This needs to be done for each app.
-PYTHONPATH=.. ./manage.py migrate membership 0001 --fake
Static assets URLs
==================

0 comments on commit a32200c

Please sign in to comment.
Something went wrong with that request. Please try again.