notes on script and add sample env

This commit is contained in:
Paul Trowbridge 2020-11-26 01:30:40 -05:00
parent 3626a2d7e6
commit 32c7895157
2 changed files with 10 additions and 0 deletions

8
.env-sample Normal file
View File

@ -0,0 +1,8 @@
user=db_user
password=db_pass
host=db_host
port=db_port
database=db_ubm
ssl=enable
wd=/home/pt/pivot_forecast/
nodeport=8082

View File

@ -1,2 +1,4 @@
# execure the sql for baseline which builds the sql and inserts into a table
$PGD -f generate_sql/gen_baseline.sql
# pull the sql out of the table and write it to route directory
$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'baseline'" -t -A -o route_sql/baseline.sql