Permalink
Browse files

django-gtd: using multiple commands in post-staging

pinax-social: add post-staging hook
  • Loading branch information...
1 parent 1a2081f commit a9428543503b15a3c83b36b737c20b823529d798 Sridhar Ratnakumar committed Sep 21, 2011
Showing with 5 additions and 7 deletions.
  1. +0 −5 setup.sh
  2. +5 −2 stackato.yml
View
@@ -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
@@ -6,12 +6,15 @@ 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
ignore:
.git
dev.db
-

0 comments on commit a942854

Please sign in to comment.