Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add upload shortcut

  • Loading branch information...
commit 63648e17971432bc65327375f8cdc03023caf2ba 1 parent f17b835
@klen authored
View
1  .makesite/flask/service/flask_install_update.sh.tmpl
@@ -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
5 Makefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.