cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

Issue 214 #219

Closed rhythnic closed 5 years ago

rhythnic commented 5 years ago

What does this PR do?

Do you have any concerns with this PR? No

How can the reviewer verify this PR?

Add an .hjson file with a few properties to override defaults. Load in by using the NODE_ENV environment variable. For instance, NODE_ENV=foo loads /config/foo.hjson. Log in app. Default config values are still loaded, but overwritten by foo.

Any background context you want to provide?

Moved some documentation to the docs site and added links to it, to keep docs in one place.

The files docker-compose.rest.yml and docker-compose.ui.yml are meant to be used together with docker-compose.loraserver.yml. For instance, when developing the REST server, use this to run the lora servers and the ui:

docker-compose -f docker/docker-compose.loraserver.yml -f docker/docker-compose.ui.yml up

When developing the web client, use this to run the lora servers and the REST server:

docker-compose -f docker/docker-compose.loraserver.yml -f docker/docker-compose.rest.yml up

Screenshots or logs (if appropriate)

Questions: