Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

django-gtd: using multiple commands in post-staging

pinax-social: add post-staging hook
  • Loading branch information...
commit a9428543503b15a3c83b36b737c20b823529d798 1 parent 1a2081f
@srid srid authored
Showing with 5 additions and 7 deletions.
  1. +0 −5 setup.sh
  2. +5 −2 stackato.yml
View
5 setup.sh
@@ -1,5 +0,0 @@
-python manage.py syncdb --noinput
-python manage.py migrate --noinput
-# Create the admin user
-python manage.py createsuperuser --username=admin --email=admin@mydomain.com --noinput
-python manage.py changepassword2 admin secret123
View
7 stackato.yml
@@ -6,7 +6,11 @@ env:
DJANGO_SETTINGS_MODULE: settings
hooks:
- post-staging: sh -x ./setup.sh
+ post-staging:
+ - python manage.py syncdb --noinput
+ - python manage.py migrate --noinput
+ - python manage.py createsuperuser --username=admin --email=admin@mydomain.com --noinput
+ - python manage.py changepassword2 admin secret123
services:
postgresql: postgresql-gtd
@@ -14,4 +18,3 @@ services:
ignore:
.git
dev.db
-
Please sign in to comment.
Something went wrong with that request. Please try again.