mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Put the dependencies into a requirements.txt file.
This allows to put them only in one place and to use `pip install -r requirements.txt` in order to install all the dependencies.
This commit is contained in:
parent
e214b39b44
commit
1229beaf54
2 changed files with 6 additions and 2 deletions
|
@ -16,7 +16,7 @@ To make it run, you just have to do something like::
|
||||||
|
|
||||||
$ virtualenv venv
|
$ virtualenv venv
|
||||||
$ source venv/bin/activate
|
$ source venv/bin/activate
|
||||||
$ pip install flask flask-wtf flask-sqlalchemy
|
$ pip install -r requirements.txt
|
||||||
$ cd budget
|
$ cd budget
|
||||||
$ python budget.py
|
$ python budget.py
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ To deploy it, I'm using gunicorn and supervisord::
|
||||||
|
|
||||||
$ virtualenv venv
|
$ virtualenv venv
|
||||||
$ source venv/bin/activate
|
$ source venv/bin/activate
|
||||||
$ pip install flask flask-wtf flask-sqlalchemy gunicorn --upgrade
|
$ pip install -r requirements.txt
|
||||||
|
|
||||||
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!**
|
||||||
|
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
flask
|
||||||
|
flask-wtf
|
||||||
|
flask-sqlalchemy
|
||||||
|
flask-mail
|
Loading…
Add table
Reference in a new issue