differentiate service setup
This commit is contained in:
parent
391e6bf09a
commit
716c18e5ba
@ -1,13 +1,14 @@
|
|||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
* git clone (to //opt for verbatim use of the .service file)
|
* git clone (to //opt for verbatim use of the .service file)
|
||||||
* npm install
|
* `npm install`
|
||||||
* create certs (`./create_certs.sh`)
|
* create certs: `chmod 700 create_certs.sh` , `./create_certs.sh`
|
||||||
* populate .env from template for database creds and listening port for API, and working directory
|
* 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)
|
* copy .service file to //etc/systemd/system/ (adjust user/working direct if needed)
|
||||||
* `sudo systemctl enable forecast_api.service`
|
* `sudo systemctl enable forecast_api.service`
|
||||||
|
|
||||||
## Initial Forecast
|
## Initial Forecast
|
||||||
|
|
||||||
* all SQL depends on unchanged core sales matrix table schema
|
* all SQL depends on unchanged core sales matrix table schema
|
||||||
* build/build_baseline.sql
|
|
||||||
|
Loading…
Reference in New Issue
Block a user