Files
www-POC/README.md

784 B

Henry Pump Datalogger Website

Installation

Prerequisites

  • Set the FQDN for your device in /etc/hosts
127.0.0.1   device.company.poconsole.net  device
#!bash

sudo apt-get install build-essential python-dev libssl-dev libffi-dev python-pip
pip install -r requirements.txt

DataLogger Website

#!bash

chmod +x start.sh webserver.sh renew_certs.sh
sudo cp webserver.sh /etc/init.d/webserver
sudo update-rc.d webserver defaults

Database Setup

To set up the database and seed the POC tag data into the database run:

#!bash

python setupdb.py seed