Permalink
Browse files

Add upload shortcut

  • Loading branch information...
1 parent f17b835 commit 63648e17971432bc65327375f8cdc03023caf2ba @klen committed Sep 29, 2012
Showing with 6 additions and 0 deletions.
  1. +1 −0 .makesite/flask/service/flask_install_update.sh.tmpl
  2. +5 −0 Makefile
@@ -8,6 +8,7 @@ DEPLOYDIR={{ deploy_dir }}
CONFIG=base.config.{{ mode }}
+cd $SOURCEDIR
sudo $PYTHON $SOURCEDIR/manage.py collect -c $CONFIG
sudo $PYTHON $SOURCEDIR/manage.py alembic upgrade head -c $CONFIG
sudo chown $USER:$GROUP -R $DEPLOYDIR
View
@@ -67,3 +67,8 @@ $(BABELDIR)/ru:
.PHONY: chown
chown:
sudo chown $(USER):$(USER) -R $(CURDIR)
+
+.PHONY upload
+upload:
+ git push
+ makesite update foundation -p /var/www -H ubuntu@foundation.node42.org

0 comments on commit 63648e1

Please sign in to comment.