populate sample env

This commit is contained in:
Paul Trowbridge 2020-02-11 11:06:13 -05:00
parent 63e3133c9d
commit 3a8dd84aec
3 changed files with 29 additions and 21 deletions

View File

@ -0,0 +1,8 @@
user=api
password=pw
host=usmidlnx01
port=5030
database=ubm
ssl=enable
wd=/mnt/c/Users/PTrowbridge/forecast_api/
nodeport=8080

View File

@ -1,10 +1,10 @@
Special concepts
* relationships betwen dates (order, request, ship) and apply that mix to a new month
* apply a base mix of promo codes and terms codes to a new month of forecast where there is no existing baseline to pull from
* effects of building baselines off of original, or all changes so far
* pricing and units
Slowness Options
* move json to a separate table and the change can be marked with a sequence
* have the data actually be a query from the database
Special concepts
* relationships betwen dates (order, request, ship) and apply that mix to a new month
* apply a base mix of promo codes and terms codes to a new month of forecast where there is no existing baseline to pull from
* effects of building baselines off of original, or all changes so far
* pricing and units
Slowness Options
* move json to a separate table and the change can be marked with a sequence
* have the data actually be a query from the database
* reduce number of columns in fc_pool

View File

@ -1,13 +1,13 @@
[Unit]
Description=forecast_api
After=network.target
[Service]
ExecStart=/usr/bin/node //opt/forecast_api/index.js
Restart=always
User=fc_api
Environemnt=NODE_ENV=production
WorkingDirectory=//opt/forecast_api
[Install]
[Unit]
Description=forecast_api
After=network.target
[Service]
ExecStart=/usr/bin/node //opt/forecast_api/index.js
Restart=always
User=fc_api
Environemnt=NODE_ENV=production
WorkingDirectory=//opt/forecast_api
[Install]
WantedBy=multi-user.target