Déploiement

This commit is contained in:
root 2018-03-11 23:36:50 +01:00
parent 7404de04e3
commit c8a1d9a3e6

View file

@ -16,7 +16,8 @@ printf "\033[0;32m > Création du virtualenv \033[0m\n"
virtualenv env_site -p "$PYTHON_INTERPRETER" virtualenv env_site -p "$PYTHON_INTERPRETER"
source env_site/bin/activate source env_site/bin/activate
pip3 install mysqldb sudo apt install libmysqlclient-dev
pip3 install mysqlclient
printf "\033[0;32m > Installation des dépendances \033[0m\n" printf "\033[0;32m > Installation des dépendances \033[0m\n"
pip3 install -r requirements.txt pip3 install -r requirements.txt