view 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
line wrap: on
line source

all:: serve

deploy-ssh:
	ssh selenic 'cd /home/hg/www && hg pull -u'

deploy:
	cd /home/hg/www && hg pull -u

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