Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add upload shortcut

  • Loading branch information...
commit 63648e17971432bc65327375f8cdc03023caf2ba 1 parent f17b835
Kirill Klenov authored
1  .makesite/flask/service/flask_install_update.sh.tmpl
@@ -8,6 +8,7 @@ DEPLOYDIR={{ deploy_dir }}
8 8 CONFIG=base.config.{{ mode }}
9 9
10 10
  11 +cd $SOURCEDIR
11 12 sudo $PYTHON $SOURCEDIR/manage.py collect -c $CONFIG
12 13 sudo $PYTHON $SOURCEDIR/manage.py alembic upgrade head -c $CONFIG
13 14 sudo chown $USER:$GROUP -R $DEPLOYDIR
5 Makefile
@@ -67,3 +67,8 @@ $(BABELDIR)/ru:
67 67 .PHONY: chown
68 68 chown:
69 69 sudo chown $(USER):$(USER) -R $(CURDIR)
  70 +
  71 +.PHONY upload
  72 +upload:
  73 + git push
  74 + makesite update foundation -p /var/www -H ubuntu@foundation.node42.org

0 comments on commit 63648e1

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