From eeaef59d896cf4efbc9d6cce7bbc22daf9603e57 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Tue, 2 May 2017 10:28:49 -0500 Subject: [PATCH] Moves supervisor.conf for use of HERE variable --- README.txt | 8 +++++--- supervisor.conf => pocwww/supervisor.conf | 0 2 files changed, 5 insertions(+), 3 deletions(-) rename supervisor.conf => pocwww/supervisor.conf (100%) diff --git a/README.txt b/README.txt index 1f1e5c6..1b57e22 100644 --- a/README.txt +++ b/README.txt @@ -1,12 +1,14 @@ # Henry Pump POC Web Interface ## Installation -1. Install Python 3 & venv with `sudo apt-get install python3 python3-venv` +1. Install nginx, Python 2&3 & venv with `sudo apt-get install nginx python python-pip python3 python3-venv python3-pip` 2. From the root of the POC-Java-www directory, run `python3 -m venv env` to create the virtual environment. -3. Update the install of pip `env/binpip install --upgrade pip setuptools` +3. Update the install of pip `env/bin/pip install --upgrade pip setuptools` 4. Install the python module `env/bin/pip install .` -5. Test the web server `env/bin/pserve production.ini` +5. Test the web server `env/bin/pserve production.ini http_port=8080` + +6. Install nginx and supervisor `pip install supervisor` diff --git a/supervisor.conf b/pocwww/supervisor.conf similarity index 100% rename from supervisor.conf rename to pocwww/supervisor.conf