mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Fixed dependencies
This commit is contained in:
parent
3472a64776
commit
ec804a0ac9
1 changed files with 2 additions and 3 deletions
|
@ -20,7 +20,7 @@ fi
|
||||||
path=${path%/}
|
path=${path%/}
|
||||||
|
|
||||||
# Install debian packages dependencies
|
# Install debian packages dependencies
|
||||||
sudo apt-get install -y -qq python-virtualenv supervisor
|
sudo apt-get install -y -qq python-dev python-virtualenv supervisor
|
||||||
|
|
||||||
# Create the dedicated user
|
# Create the dedicated user
|
||||||
sudo useradd ihatemoney -d /opt/yunohost/ihatemoney/
|
sudo useradd ihatemoney -d /opt/yunohost/ihatemoney/
|
||||||
|
@ -28,8 +28,7 @@ sudo useradd ihatemoney -d /opt/yunohost/ihatemoney/
|
||||||
# Prepare venv
|
# Prepare venv
|
||||||
sudo virtualenv /opt/yunohost/ihatemoney/venv
|
sudo virtualenv /opt/yunohost/ihatemoney/venv
|
||||||
sudo /opt/yunohost/ihatemoney/venv/bin/pip install -r ../sources/budget/requirements.txt
|
sudo /opt/yunohost/ihatemoney/venv/bin/pip install -r ../sources/budget/requirements.txt
|
||||||
sudo /opt/yunohost/ihatemoney/venv/bin/pip install gunicorn>=19.3.0
|
sudo /opt/yunohost/ihatemoney/venv/bin/pip install gunicorn>=19.3.0 MySQL-python
|
||||||
|
|
||||||
|
|
||||||
# Install source
|
# Install source
|
||||||
sudo cp -r ../sources/ /opt/yunohost/ihatemoney/src/
|
sudo cp -r ../sources/ /opt/yunohost/ihatemoney/src/
|
||||||
|
|
Loading…
Reference in a new issue