diff --git a/deployment_scripts/README.md b/deployment_scripts/README.md index e37c34b0e..92a2fd76e 100644 --- a/deployment_scripts/README.md +++ b/deployment_scripts/README.md @@ -1,5 +1,6 @@ # Files used to deploy development version of infection monkey -On windows:
+## Windows + Before running the script you must have git installed.
Cd to scripts directory and use the scripts.
First argument is an empty directory (script can create one) and second is branch you want to clone. @@ -10,12 +11,13 @@ powershell -ExecutionPolicy ByPass -Command ". .\deploy_windows.ps1; Deploy-Wind ./run_script.bat "" "master"(Sets up master branch instead of develop in current dir) Don't forget to add python to PATH or do so while installing it via this script.
-On Linux:
-You must have root permissions, but don't run the script as root.
+## Linux + +You must have root permissions, but there is no need to run the script as root.
Launch deploy_linux.sh from scripts directory.
First argument is an empty directory (script can create one) and second is branch you want to clone. Example usages:
./deploy_linux.sh (deploys under ./infection_monkey)
./deploy_linux.sh "/home/test/monkey" (deploys under /home/test/monkey)
./deploy_linux.sh "" "master" (deploys master branch in script directory)
-./deploy_linux.sh "/home/user/new" "master" (if directory "new" is not found creates it and clones master branch into it)
\ No newline at end of file +./deploy_linux.sh "/home/user/new" "master" (if directory "new" is not found creates it and clones master branch into it)