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:
parent
83a59fba10
commit
dea22b9a89
1 changed files with 6 additions and 0 deletions
|
@ -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 !
|
||||||
|
|
Loading…
Reference in a new issue