Quick Loop: JHipster and Spring Boot Tools

Install Yeoman and other JavaScript Tools

npm install -g yo
npm install -g bower
npm install -g grunt-cli
npm install -g gulp
npm install -g karma
npm install jshint
npm install -g ngmin

Install JHipster

npm install -g generator-jhipster

Update your version of JHipster with:

npm update -g generator-jhipster

And then you can update your project when you run again.

yo jhipster
yo jhipster:entity foo
yo jhipster:service bar
grunt server
bower install
bower update
grunt build
java -jar jhipster-0.1-SNAPSHOT.war --spring.profiles.active=prod
mvn -Pprod package
-javaagent:spring_loaded/springloaded-jhipster.jar -noverify -Dspringloaded=plugins=io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin
mvn -Pprod spring-boot:run
mvn spring-boot:run

The application will be available on http://localhost:8080.

Written By bunkertor

Leave a Reply

Your email address will not be published. Required fields are marked *