Sign inSign up

fiwoo/device-management

By fiwoo

Updated over 7 years ago

IoT device managent microservice in the FIWOO platform

Image
0

3.1K

fiwoo/device-management repository overview

Device management

This project was generated with the Angular Full-Stack Generator version 4.2.2.

Getting Started

Prerequisites
Developing
  1. Run npm install to install server dependencies.

  2. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  3. Run gulp serve to start the development server. It should automatically open the client in your browser when ready.

Build & development

Run gulp build for building and gulp serve for preview.

Testing

Running npm test will run the unit tests with karma.

Deployment with Docker

In order to deploy this microservice using Docker, you just need to follow this steps

  1. Download the docker image from Docker Hub

docker pull fiwoo/device-management

  1. Run the image. Take into account that the connection to MongoDB has to be done using Enviroment Variables, and that the microservice is started on port 9000

docker run -d -t -i -e MONGODB='YOUR_MONGODB_CONNECTION' -p 9000:9000 --name device-management fiwoo/device-management

Tag summary

Content type

Image

Digest

Size

463.7 MB

Last updated

over 7 years ago

docker pull fiwoo/device-management