15 lines
539 B
Plaintext
15 lines
539 B
Plaintext
# Henry Pump POC Web Interface
|
|
|
|
## Installation
|
|
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/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 http_port=8080`
|
|
|
|
6. Install nginx and supervisor `pip install supervisor`
|