Fix deb package requirement

This commit is contained in:
Itay Mizeretz 2017-08-13 17:13:39 +03:00
parent 3ef24281a7
commit a23317ecdf
3 changed files with 4 additions and 2 deletions

View File

@ -6,9 +6,13 @@ INSTALLATION_FOLDER=/var/monkey_island/installation
cp -f ${MONKEY_FOLDER}/monkey.sh /usr/bin/monkey
chmod 755 /usr/bin/monkey
# Fix dependency bug
pip uninstall -y bson
# install pip requirements
pip install -r $MONKEY_FOLDER/pip_requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER
# remove installation folder and unnecessary files
rm -rf ${INSTALLATION_FOLDER}
rm -f ${MONKEY_FOLDER}/pip_requirements.txt

View File

@ -5,7 +5,6 @@ jinja2
markupsafe
itsdangerous
click
bson
flask
Flask-Pymongo
Flask-Restful

View File

@ -5,7 +5,6 @@ jinja2
markupsafe
itsdangerous
click
bson
flask
Flask-Pymongo
Flask-Restful