Skip to content

iotmodels/iothub-ux

Repository files navigation

iothub-ux

Web application to interact with IoT hub devices

Deploy to Azure

Deploy with Docker

This repo is published in the docker hub registry as `ridomin/iothubux:latest'

To deploy locally use:

IOT_HUB_CONNECTION_STRING="<your iot hub connection string"
EVENTHUB_CONSUMER_GROUP="<EH consumer group" # defaults to $Default
PORT="<PORT>" # defaults to 3000
docker run -it --rm -p 80:80 \
  -e PORT=$PORT -e \
  -e IOT_HUB_CONNECTION_STRING="$IOT_HUB_CONNECTIONSTRING" \
  -e EVENTHUB_CONSUMER_GROUP="$Default" \
  ridomin/iothubux:latest

Run locally

Assuming you have Node/NPM installed:

export IOTHUB_CONNECTIONSTRING="<your iot hub connection string"
node app.js
$env:IOTHUB_CONNECTIONSTRING="<your iot hub connection string" ; node app.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published