Azure PCS Remote Monitoring WebUI
Web app for Azure IoT PCS Remote Monitoring Solution dotnet and java.
Prerequisites
Setup Node
- Install node.js
- For development, you can use your preferred editor
- Visual Studio Code
- Atom
- Sublime Text
- or other preferred editor
Build, run and test locally
cd ~\pcs-remote-monitoring-webui\
npm install
npm start
: Launches the project in browser - watches for code changes and refreshes the page.npm run build
: Creates a production ready build.npm test
: Runs test in watch mode, pressq
to quitnpm flow
: Runs Flow type checker. Learn more about Flow here.
Configure environment variables to run locally
Environment variables are configured in the .env file. If you would like to configure the service to use local services you can include values for the following environment variables
- REACT_APP_BASE_SERVICE_URL
- REACT_APP_IOTHUBMANAGER_WEBSERVICE_PORT
- REACT_APP_DEVICESIMULATION_WEBSERVICE_PORT
- REACT_APP_CONFIG_WEBSERVICE_PORT
- REACT_APP_TELEMETRY_WEBSERVICE_PORT
- REACT_APP_AUTH_WEBSERVICE_PORT
Contributing to the solution
Please follow our contribution guildelines and the code style conventions.
References
This project was bootstrapped with Create React App.
You can find a guide to using it here.