From 60890e66e5d5d33daa7dc4390d00c32e0b4727f6 Mon Sep 17 00:00:00 2001 From: Andrew Pham <32873177+adpham95@users.noreply.github.com> Date: Fri, 30 Nov 2018 15:48:32 -0500 Subject: [PATCH] fixed code snippets --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2d0bc177c..b0b5bbaaa 100644 --- a/README.md +++ b/README.md @@ -195,43 +195,43 @@ Install Redis Server: If the Python environment for your elevated privileges are the same as the Python environment you will be running WALKOFF in (check that `pip --version` aligns with `which python`), you can use the all-in-one setup script with elevated privileges: - `python setup_walkoff.py` + python setup_walkoff.py If that is not the case, or if you would like to manually install WALKOFF: First, install Python dependencies with the following command: - `pip install -r requirements.txt` + pip install -r requirements.txt To install the Python dependencies for each individual app, run: - `python scripts/install_dependencies.py` + python scripts/install_dependencies.py Or to just install the dependencies for specific apps: - `python scripts/install_dependencies.py -a AppOne,AppTwo,AppThree` + python scripts/install_dependencies.py -a AppOne,AppTwo,AppThree Then, generate certificates for WALKOFF's internal messaging: - `python scripts/generate_certificates.py` + python scripts/generate_certificates.py If you were previously familiar with WALKOFF, NodeJS and NPM are no longer needed to build front-end components, as the webpacked JavaScript files are now included in this repository. That's it! To start up the server, just navigate back to the WALKOFF root and run: - `python walkoff.py` + python walkoff.py Then, navigate to the specified IP and port to start using WALKOFF. The default is `http://127.0.0.1:5000`. Through this script, you can also specify port and host, for example - `python walkoff.py --port 3333 --host 0.0.0.0` + python walkoff.py --port 3333 --host 0.0.0.0 For more options, run - `python walkoff.py --help` + python walkoff.py --help ## Features