This is a sample application created with JHipster
Go to file
Julien Dubois 484ccbb7f1 automatic project update 2015-10-23 15:32:57 +02:00
.jhipster automatic project update 2015-08-06 13:50:33 +02:00
src automatic project update 2015-10-23 11:07:33 +02:00
.bowerrc Initial commit, based on hipster 0.0.19 2013-11-09 18:31:05 +01:00
.editorconfig Release v1.3.0 2014-10-07 11:58:56 +02:00
.gitattributes automatic project update 2015-08-05 10:51:33 +02:00
.gitignore v2.10.0 release 2015-05-07 12:22:15 +02:00
.jshintrc v2.0.0 release 2015-01-12 11:51:48 +01:00
.travis.yml added Travis build 2015-08-05 13:26:26 +02:00
.yo-rc.json automatic project update 2015-10-21 17:56:55 +02:00
Gruntfile.js automatic project update 2015-10-23 15:32:57 +02:00 automatic project update 2015-10-21 17:56:55 +02:00
bower.json automatic project update 2015-09-15 21:51:42 +02:00
docker-compose-prod.yml automatic project update 2015-10-06 17:35:06 +02:00
package.json automatic project update 2015-10-23 15:32:57 +02:00
pom.xml automatic project update 2015-10-23 11:07:33 +02:00

Developing sampleApplication

This application was generated using JHipster, you can find documentation and help at [][].

Before you can build this project, you must install and configure the following dependencies on your machine:

  1. Node.js: We use Node to run a development web server and build the project. Depending on your system, you can install Node either from source or as a pre-packaged bundle.

After installing Node, you should be able to run the following command to install development tools (like Bower and BrowserSync). You will only need to run this command when dependencies change in package.json.

npm install

We use Grunt as our build system. Install the grunt command-line tool globally with:

npm install -g grunt-cli

Run the following commands in two separate terminals to create a blissful development experience where your browser auto-refreshes when files change on your hard drive.


Bower is used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by specifying a newer version in bower.json. You can also run bower update and bower install to manage dependencies. Add the -h flag on any command to see how you can use it. For example, bower update -h.

Building for production

To optimize the sampleApplication client for production, run:

mvn -Pprod clean package

This will concatenate and minify CSS and JavaScript files. It will also modify index.html so it references these new files.

To ensure everything worked, run:

java -jar target/*.war

Then navigate to http://localhost:8080 in your browser.


Unit tests are run by Karma and written with Jasmine. They're located in src/test/javascript and can be run with:

grunt test

Continuous Integration

To setup this project in Jenkins, use the following configuration:

  • Project name: sampleApplication
  • Source Code Management
    • Git Repository:
    • Branches to build: */master
    • Additional Behaviours: Wipe out repository & force clone
  • Build Triggers
    • Poll SCM / Schedule: H/5 * * * *
  • Build
    • Invoke Maven / Tasks: -Pprod clean package
  • Post-build Actions
    • Publish JUnit test result report / Test Report XMLs: build/test-results/*.xml