diff --git a/.env.sample b/.env.sample index e69de29..49ea08c 100644 --- a/.env.sample +++ b/.env.sample @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 97eb378..b54cf56 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file diff --git a/forecast_api.service b/forecast_api.service index b7e5924..8866312 100644 --- a/forecast_api.service +++ b/forecast_api.service @@ -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 \ No newline at end of file