From de708ce3efec2ab70b6b77781957766ae47f9068 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Thu, 10 Mar 2011 17:32:53 +0000 Subject: reshape the folder structure. Add conf files --- README.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 8998b77..61ec91a 100644 --- a/README.rst +++ b/README.rst @@ -8,3 +8,25 @@ Budget-manager This is a really tiny app to ease the shared houses budget management. Keep track of who bought what, when, and for who to then compute the balance of each person. + +Make it run! +============ + +To make it run, you just have to do something like:: + + $ virtualenv venv + $ source budget/bin/activate + $ pip install flask flask-wtf flask-sqlalchemy + $ cd budget + $ python budget.py + +Deploy it +========= + +To deploy it, I'm using gunicorn and supervisord:: + +1. Add the lines in conf/supervisord.conf to your supervisord.conf file. + **adapt them to your paths!** +2. Copy and paste the content of conf/nginx.conf in your nginx conf file. + **adapt them to your paths!** +3. reload both nginx and supervisord. It should be working ;) -- cgit v1.1