This is the AngularJS based dashboard. A tour of the directories here:
app
- The source code for the dashboardbower_components
- The bower dependenciesconfig
- The configuration for the applicationsrc
- Java source to execute this module as a Spring Boot application.test
- The test code for the application
- Execute a grunt build from the root of this module:
$ grunt clean build
. - From the root of the project (one level up from this module) execute a gradle build:
$ ./gradlew clean build
- The Spring Boot über jar can be found in the build/lib directory and can be launched
via
$ java -jar IoT-Dashboard.jar
. - The dashboard should be able to be viewed via http://localhost:8080/index.html
$ cf push <APP-NAME> -p IoT-Dashboard/build/libs/IoT-Dashboard.jar -b https://github.com/cloudfoundry/java-buildpack.git --no-start
$ cf set-env <APP-NAME> JBP_CONFIG_OPEN_JDK_JRE '[version: 1.8.0_+, memory_heuristics: {heap: 85, stack: 10}]'
$ cf start <APP-NAME>