From 716c18e5ba3943e869e8c48938c983bc2d057535 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 12 Jul 2021 14:26:13 -0400 Subject: [PATCH] differentiate service setup --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2b0ec19..5a78948 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ ## Setup * git clone (to //opt for verbatim use of the .service file) -* npm install -* create certs (`./create_certs.sh`) -* populate .env from template for database creds and listening port for API, and working directory +* `npm install` +* create certs: `chmod 700 create_certs.sh` , `./create_certs.sh` +* create .env from template .env.sample sepcifiying database creds and listening port for API, and working directory +* `node index.js` +to setup as service * copy .service file to //etc/systemd/system/ (adjust user/working direct if needed) * `sudo systemctl enable forecast_api.service` ## Initial Forecast * all SQL depends on unchanged core sales matrix table schema -* build/build_baseline.sql