Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.01 KB

readme.md

File metadata and controls

19 lines (13 loc) · 1.01 KB

Mongo IP Updater

Build master

This NodeJS application adds the public ip address of the device it's run on to the Network Access list by using the MongoDB Atlas REST-API.

Setup

  1. Clone this repository
  2. Run npm install to install the dependencies
  3. Generate a MongoDB Atlas API-Key
  4. Grant permissions to your project (Project Owner)
  5. Copy .env.sample to dev.env | prod.env | qa.env and add the desired settings
  6. npm run build to compile typescript
  7. npm run start:[prod|qa|dev] to run the updater on your desired environment

Running the updater as a Linux-Service

TODO: Document setup