# HG changeset patch # User David Soria Parra # Date 1336939669 -7200 # Node ID 89c7ce3d2ffe99e5687a5a6ae3f7dcfea1011d7f # Parent 9cb5e43e688a58dd08d77c0f221a5e7137dbb8bd Add Makefile and HOWTO diff -r 9cb5e43e688a -r 89c7ce3d2ffe HOWTO --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HOWTO Sun May 13 22:07:49 2012 +0200 @@ -0,0 +1,8 @@ +HOW TO BUILD +----------- + + (1) change your stuff in content + (2) make build + (3) check + (4) commit and push + (5) make deploy diff -r 9cb5e43e688a -r 89c7ce3d2ffe Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun May 13 22:07:49 2012 +0200 @@ -0,0 +1,11 @@ +all:: build +build: + python ../blatter/blatter/__init__.py blat + +deploy-ssh: + ssh selenic 'cd /home/hg/www && hg pull -u' +deploy: + cd /home/hg/www && hg pull -u +serve: + python ../blatter/blatter/__init__.py serve +.PHONY: build deploy-ssh deploy serve