Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix makesite template

  • Loading branch information...
commit 09f288d0132959ae4355191c45b5a88c39f6b311 1 parent 29d205b
@klen authored
View
2  .makesite/flask/service/flask_install_update.sh.tmpl
@@ -8,4 +8,6 @@ DEPLOYDIR={{ deploy_dir }}
sudo $PYTHON $SOURCEDIR/manage.py collect
+sudo $PYTHON $SOURCEDIR/manage.py create_db
+sudo $PYTHON $SOURCEDIR/manage.py migrate run
sudo chown $USER:$GROUP -R $DEPLOYDIR
View
4 Makefile
@@ -49,3 +49,7 @@ babel: $(BABELDIR)/ru
$(BABELDIR)/ru:
$(PYBABEL) init -i $(BABELDIR)/babel.pot -d $(BABELDIR) -l ru
+
+.PHONY: chown
+chown:
+ sudo chown $(USER):$(USER) -R $(CURDIR)
View
2  base/config/production.py
@@ -15,7 +15,7 @@
DEFAULT_MAIL_SENDER = 'Admin < %s >' % MAIL_USERNAME
ADMINS = frozenset([MAIL_USERNAME])
-COLLECT_STATIC_DIR = op.join(op.dirname(ROOTDIR), 'static')
+COLLECT_STATIC_ROOT = op.join(op.dirname(ROOTDIR), 'static')
OAUTH_TWITTER = dict(
base_url='http://api.twitter.com/1/',
View
2  makesite.ini
@@ -1,5 +1,5 @@
[Main]
-template=virtualenv,uwsgi,celeryd,flask
+template=virtualenv,uwsgi,flask
[Templates]
flask=%(source_dir)s/.makesite/flask
Please sign in to comment.
Something went wrong with that request. Please try again.