1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

add some stuff in the readme about deployment

This commit is contained in:
Alexis Metaireau 2011-03-10 17:51:16 +00:00
parent 83a59fba10
commit dea22b9a89

View file

@ -25,8 +25,14 @@ Deploy it
To deploy it, I'm using gunicorn and supervisord:: To deploy it, I'm using gunicorn and supervisord::
$ virtualenv venv
$ source venv/bin/activate
$ pip install flask flask-wtf flask-sqlalchemy gunicorn --upgrade
1. Add the lines in conf/supervisord.conf to your supervisord.conf file. 1. Add the lines in conf/supervisord.conf to your supervisord.conf file.
**adapt them to your paths!** **adapt them to your paths!**
2. Copy and paste the content of conf/nginx.conf in your nginx conf file. 2. Copy and paste the content of conf/nginx.conf in your nginx conf file.
**adapt them to your paths!** **adapt them to your paths!**
3. reload both nginx and supervisord. It should be working ;) 3. reload both nginx and supervisord. It should be working ;)
Don't forget to set the right permission for your files !