Aurelia based dashboard for displaying realtime state of clients and sensors. The state retreived and pushed from Enttoi API.
- Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
- From the project folder, execute the following command:
npm install
if you building on Windows and getting "not found Microsoft.Cpp.Default.props" message, run: SET VCTargetsPath="C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140"
3. Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
- Ensure that jspm is installed. If you need to install it, use the following command:
npm install -g jspm
- Install the client-side dependencies with jspm:
jspm install -y
if you getting "GitHub rate limit reached" message, generate token here and run: jspm registry config github
- To run the app, execute the following command:
gulp watch
- Browse to http://localhost:9000
- Build & bundle:
gulp bundle
- Deploy:
/index.html
/media
/dist
jspm_packages/system.js
Alternatively
/dist
can be served from CDN. Add environment variableENTTOI_CDN_ENDPOINT
which points to CDN and bundle using:
gulp bundle-cdn