Compare commits

..

3 Commits

Author SHA1 Message Date
Paul Trowbridge
3a8dd84aec populate sample env 2020-02-11 11:06:13 -05:00
pt
63e3133c9d notes 2020-02-07 02:13:33 -05:00
pt
f1dede7c2e slowness 2020-02-07 02:13:22 -05:00
3 changed files with 30 additions and 16 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,4 +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
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