From ebfe4d7ee1527134be6f49e4d7b158bd74820909 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 12 Jul 2021 14:37:49 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8f91df..81a220a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ * `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` +* run: `node index.js` additionally, to setup as service * copy .service file to //etc/systemd/system/ (adjust user/working direct if needed) From fc8ee9b6888b26b789feacc51b7a96d743ab5478 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 12 Jul 2021 14:39:21 -0400 Subject: [PATCH 2/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 81a220a..b3aeb5a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +This will not work without exactly the right database schema which is out of scope. this is only the running process part of the forecast. + ## Setup * git clone (to //opt for verbatim use of the .service file) From ed5f9a1d0f39a28a584183148aec6645c575d102 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 12 Jul 2021 14:42:19 -0400 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3aeb5a..84b9d37 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This will not work without exactly the right database schema which is out of sco * git clone (to //opt for verbatim use of the .service file) * `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 +* clone sample env `cp .env.sample .env` and specify 1) database creds 2) working directory 3) listening port * run: `node index.js` additionally, to setup as service From 2a95101d3d5933526d089b6d0740bbdb19d2b0e9 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 12 Jul 2021 14:44:56 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84b9d37..d44246e 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ This will not work without exactly the right database schema which is out of sco * create certs: `chmod 700 create_certs.sh` , `./create_certs.sh` * clone sample env `cp .env.sample .env` and specify 1) database creds 2) working directory 3) listening port * run: `node index.js` +* navigate to `https://localhost:8080/` to valide it's connectable +* open the spreadsheet and specify the target connection additionally, to setup as service * copy .service file to //etc/systemd/system/ (adjust user/working direct if needed)