Adds more detail to README, adds service_identity module to pip requirements

This commit is contained in:
Patrick McDonagh
2017-02-09 16:38:39 -06:00
parent 18bc2937b5
commit 4a8d440bae
2 changed files with 11 additions and 5 deletions

View File

@@ -3,21 +3,26 @@
## Installation ## ## Installation ##
### Prerequisites ### ### Prerequisites ###
- Set the FQDN for your device in /etc/hosts
```
127.0.0.1 device.company.poconsole.net device
```
``` ```
#!bash #!bash
sudo apt-get install build-essential python-dev libssl-dev libffi-dev sudo apt-get install build-essential python-dev libssl-dev libffi-dev python-pip
pip install -r requirements.txt pip install -r requirements.txt
``` ```
- Install the [pycomm](https://github.com/ruscito/pycomm) module for python
- Install the [pycomm-helper](https://github.com/Henry-Pump/Pycomm-Helper) module for python
### DataLogger Website ### ### DataLogger Website ###
``` ```
#!bash #!bash
chmod +x start.sh chmod +x start.sh webserver.sh renew_certs.sh
chmod +x webserver.sh
sudo cp webserver.sh /etc/init.d/webserver sudo cp webserver.sh /etc/init.d/webserver
sudo update-rc.d webserver defaults sudo update-rc.d webserver defaults
``` ```

View File

@@ -19,6 +19,7 @@ pyOpenSSL==16.2.0
python-dateutil==2.6.0 python-dateutil==2.6.0
python-mimeparse==1.6.0 python-mimeparse==1.6.0
requests==2.12.1 requests==2.12.1
service_identity=16.0.0
six==1.10.0 six==1.10.0
SQLAlchemy==1.1.4 SQLAlchemy==1.1.4
Twisted==16.6.0 Twisted==16.6.0