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 Special concepts
* relationships betwen dates (order, request, ship) and apply that mix to a new month * 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 * 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 * effects of building baselines off of original, or all changes so far
* pricing and units * pricing and units
Slowness Options Slowness Options
* move json to a separate table and the change can be marked with a sequence * 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 * have the data actually be a query from the database
* reduce number of columns in fc_pool * reduce number of columns in fc_pool

View File

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