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