Commit d910d5ce authored by durin42's avatar durin42
Browse files

Makefile: update makefile to not mention blatter

Now instead of trying to use blatter, it offers a 'serve' target which
bootstraps a virtualenv (if needed) and runs the flask app in debug
mode.
parent 94ad26ab1689
syntax: glob
*.pyc
.DS_Store
.env
out/**
all:: build
build:
python ../blatter/blatter/__init__.py blat
all:: serve
deploy-ssh:
ssh selenic 'cd /home/hg/www && hg pull -u'
......@@ -9,7 +6,11 @@
deploy:
cd /home/hg/www && hg pull -u
serve:
python ../blatter/blatter/__init__.py serve
serve: .env
HGWEBSITE_DEBUG=1 .env/bin/python hgwebsite.py
.env:
python -m virtualenv .env
.env/bin/pip install flask
.PHONY: build deploy-ssh deploy serve
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment