Mercurial > hg-website
changeset 391:89c7ce3d2ffe
Add Makefile and HOWTO
author | David Soria Parra <dsp@php.net> |
---|---|
date | Sun, 13 May 2012 22:07:49 +0200 |
parents | 9cb5e43e688a |
children | 4aef227e929c |
files | HOWTO Makefile |
diffstat | 2 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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
--- /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