This is the AngularJS based dashboard + Spring Boot based emulator. A tour of the directories here:
app
- The source code for the dashboardbower_components
- The bower dependenciesnode_modules
- Node.js dependenciesconfig
- The configuration for the applicationsrc
- Java/Groovy source to execute this module as a Spring Boot application.test
- The test code for the application
Before you can build the project, need to make sure all dependencies are installed
$ npm install
$ bundle install
$ bower install
$ ./gradlew bootrun
Start the Sprint Boot App up$ grunt serve
Start the local server with LiveReload enabled
- Execute a grunt build from the root of this module:
$ grunt clean build
. - From the root of the project, execute a gradle build:
$ ./gradlew clean build
- The Spring Boot über jar can be found in the build/libs directory and can be launched
via
$ java -jar build/libs/IoT-Dashboard.jar
. - The dashboard should be able to be viewed via http://localhost:8080/
$ cf create-service <redis service> <plan> redis
$ cf push -n <ROUTE-NAME>