From 3e5170bb7c51baa2fdbbae86d0a7e1d36853b7cf Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Mon, 25 Sep 2017 15:28:03 +0300 Subject: [PATCH] Update deb pip requirements Update readme for linux --- .../deb-package/monkey_island_pip_requirements.txt | 4 +++- monkey_island/readme.txt | 14 +++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/monkey_island/deb-package/monkey_island_pip_requirements.txt b/monkey_island/deb-package/monkey_island_pip_requirements.txt index ee11b691f..275c8b96a 100644 --- a/monkey_island/deb-package/monkey_island_pip_requirements.txt +++ b/monkey_island/deb-package/monkey_island_pip_requirements.txt @@ -7,4 +7,6 @@ itsdangerous click flask Flask-Pymongo -Flask-Restful \ No newline at end of file +Flask-Restful +jsonschema +netifaces \ No newline at end of file diff --git a/monkey_island/readme.txt b/monkey_island/readme.txt index 26b3f3213..d5cae317c 100644 --- a/monkey_island/readme.txt +++ b/monkey_island/readme.txt @@ -42,11 +42,8 @@ How to run: mkdir -p /var/monkey_island/db mkdir -p /var/monkey_island/cc/binaries -2. Install the following packages: - sudo pip install flask - sudo pip install Flask-Pymongo - sudo pip install Flask-Restful - sudo pip install python-dateutil +2. Install the packages from monkey_island/requirements.txt: + sudo python -m pip install -r /var/monkey_island/requirements.txt 3. put monkey binaries in /var/monkey_island/cc/binaries monkey-linux-64 - monkey binary for linux 64bit @@ -70,5 +67,12 @@ How to run: 7. Copy monkey island server to /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: 1. run run.sh