Moves supervisor.conf for use of HERE variable

This commit is contained in:
Patrick McDonagh
2017-05-02 10:28:49 -05:00
parent 58a84756ce
commit eeaef59d89
2 changed files with 5 additions and 3 deletions

View File

@@ -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`