1
0
Fork 0
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:
Alexis Metaireau 2011-07-30 15:40:48 +02:00
parent e214b39b44
commit 1229beaf54
2 changed files with 6 additions and 2 deletions

View file

@ -16,7 +16,7 @@ To make it run, you just have to do something like::
$ virtualenv venv
$ source venv/bin/activate
$ pip install flask flask-wtf flask-sqlalchemy
$ pip install -r requirements.txt
$ cd budget
$ python budget.py
@ -27,7 +27,7 @@ To deploy it, I'm using gunicorn and supervisord::
$ virtualenv venv
$ 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.
**adapt them to your paths!**

4
requirements.txt Normal file
View file

@ -0,0 +1,4 @@
flask
flask-wtf
flask-sqlalchemy
flask-mail