Update deb pip requirements

Update readme for linux
This commit is contained in:
Itay Mizeretz 2017-09-25 15:28:03 +03:00
parent 4e223c5ae2
commit 3e5170bb7c
2 changed files with 12 additions and 6 deletions

View File

@ -7,4 +7,6 @@ itsdangerous
click click
flask flask
Flask-Pymongo Flask-Pymongo
Flask-Restful Flask-Restful
jsonschema
netifaces

View File

@ -42,11 +42,8 @@ How to run:
mkdir -p /var/monkey_island/db mkdir -p /var/monkey_island/db
mkdir -p /var/monkey_island/cc/binaries mkdir -p /var/monkey_island/cc/binaries
2. Install the following packages: 2. Install the packages from monkey_island/requirements.txt:
sudo pip install flask sudo python -m pip install -r /var/monkey_island/requirements.txt
sudo pip install Flask-Pymongo
sudo pip install Flask-Restful
sudo pip install python-dateutil
3. put monkey binaries in /var/monkey_island/cc/binaries 3. put monkey binaries in /var/monkey_island/cc/binaries
monkey-linux-64 - monkey binary for linux 64bit monkey-linux-64 - monkey binary for linux 64bit
@ -70,5 +67,12 @@ How to run:
7. Copy monkey island server to /var/monkey_island: 7. Copy monkey island server to /var/monkey_island:
cp -r [monkey_island_source]/cc /var/monkey_island/ cp -r [monkey_island_source]/cc /var/monkey_island/
8. Install npm
8.1. Download and install from: https://www.npmjs.com/get-npm
9. Build Monkey Island frontend
9.1. cd to 'monkey_island/cc/ui'
9.2. run 'npm run dist'
How to run: How to run:
1. run run.sh 1. run run.sh