Mercurial > hg-website
comparison Makefile @ 471:d910d5ce9b0b
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.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 23 Dec 2016 11:05:45 -0500 |
parents | 94ad26ab1689 |
children | f8cee73d5cf0 |
comparison
equal
deleted
inserted
replaced
470:94ad26ab1689 | 471:d910d5ce9b0b |
---|---|
1 all:: build | 1 all:: serve |
2 | |
3 build: | |
4 python ../blatter/blatter/__init__.py blat | |
5 | 2 |
6 deploy-ssh: | 3 deploy-ssh: |
7 ssh selenic 'cd /home/hg/www && hg pull -u' | 4 ssh selenic 'cd /home/hg/www && hg pull -u' |
8 | 5 |
9 deploy: | 6 deploy: |
10 cd /home/hg/www && hg pull -u | 7 cd /home/hg/www && hg pull -u |
11 | 8 |
12 serve: | 9 serve: .env |
13 python ../blatter/blatter/__init__.py serve | 10 HGWEBSITE_DEBUG=1 .env/bin/python hgwebsite.py |
11 | |
12 .env: | |
13 python -m virtualenv .env | |
14 .env/bin/pip install flask | |
14 | 15 |
15 .PHONY: build deploy-ssh deploy serve | 16 .PHONY: build deploy-ssh deploy serve |