Compare commits
5 Commits
a5dc4aaa85
...
73c3171d04
Author | SHA1 | Date | |
---|---|---|---|
73c3171d04 | |||
2a95101d3d | |||
ed5f9a1d0f | |||
fc8ee9b688 | |||
ebfe4d7ee1 |
@ -1,10 +1,14 @@
|
|||||||
|
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
|
## 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: `chmod 700 create_certs.sh` , `./create_certs.sh`
|
* 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
|
||||||
* `node index.js`
|
* 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
|
additionally, 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user