Adds correction to System Variables

This commit is contained in:
Patrick McDonagh
2017-02-27 11:11:58 -06:00
parent 708db6bf9b
commit 5aa3f539d6

View File

@@ -2,13 +2,13 @@
Scrape production data from POCloud to push to accounting servers
# Setup
System variables must be set up for the script to run.
System variables must be set up for the script to run. Add the following lines to /etc/environment
```
export HP_SQL_USER="<yourSQLusername>"
export HP_SQL_PASSWORD="<yourSQLpassword>"
export HP_SQL_SERVER="<yourSQLserverAddress>"
export MESHIFY_USERNAME="<yourMeshifyUsername>"
export MESHIFY_PASSWORD="<yourMeshifyPassword>"
HP_SQL_USER="<yourSQLusername>"
HP_SQL_PASSWORD="<yourSQLpassword>"
HP_SQL_SERVER="<yourSQLserverAddress>"
MESHIFY_USERNAME="<yourMeshifyUsername>"
MESHIFY_PASSWORD="<yourMeshifyPassword>"
```
# Usage
@@ -29,4 +29,3 @@ To run the script:
```
python3 henryPetroleumMeshifyAPI.pt >> output.log
```