Ref: https://jhipster.github.io/
Screencast - Opening a JHipster Project in IntelliJ (for Bob!): http://screencast.com/t/1irC0STRKJG
E:\a_team\jhipster-sample>npm install -g generator-jhipster
generator-jhipster@2.5.2 C:\Users\David\AppData\Roaming\npm\node_modules\generator-jhipster
├── shelljs@0.3.0
├── underscore.string@2.3.3
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── cheerio@0.17.0 (dom-serializer@0.0.1, entities@1.1.1, htmlparser2@3.7.3, CSSselect@0.4.1, lodash@2.4.1)
├── grunt@0.4.5 (dateformat@1.0.2-1.2.3, which@1.0.9, eventemitter2@0.4.14, getobject@0.1.0, colors@0.6.2, rimraf@2.2.8, hooker@0.2.3, async
@0.1.22, grunt-legacy-util@0.2.0, exit@0.1.2, nopt@1.0.10, minimatch@0.2.14, glob@3.1.21, lodash@0.9.2, coffee-script@1.3.3, underscore.stri
ng@2.2.1, iconv-lite@0.2.11, findup-sync@0.1.3, grunt-legacy-log@0.1.1, js-yaml@2.0.5)
├── yeoman-generator@0.17.7 (dargs@2.1.0, class-extend@0.1.1, rimraf@2.3.1, diff@1.3.0, text-table@0.2.0, mime@1.3.4, async@0.9.0, cross-spa
wn@0.2.6, nopt@3.0.1, grouped-queue@0.3.0, isbinaryfile@2.0.3, debug@1.0.4, run-async@0.1.0, mkdirp@0.5.0, iconv-lite@0.4.7, findup-sync@0.1
.3, github-username@1.1.1, file-utils@0.2.2, glob@4.5.0, request@2.53.0, download@1.0.7, lodash@2.4.1, gruntfile-editor@0.2.0, inquirer@0.7.
3)
└── insight@0.4.3 (object-assign@1.0.0, async@0.9.0, lodash.debounce@2.4.1, os-name@1.0.3, tough-cookie@0.12.1, request@2.53.0, configstore@
0.3.2, inquirer@0.6.0)
E:\a_team\jhipster-sample>npm update
E:\a_team\jhipster-sample>yo jhipster
_ _ ___ __ _____ ____ ___ __ _____ __ __ _
| |_| | | | |_) ( (` | | | |_ | |_) ( (` | | / /\ / /` | |_/
|_| | |_| |_| _)_) |_| |_|__ |_| \ _)_) |_| /_/--\ \_\_, |_| \
____ ___ ___
| |_ / / \ | |_)
|_| \_\_/ |_| \
_ __ _ __ ___ ____ _ __
| | / /\ \ \ / / /\ | | \ | |_ \ \ / ( (`
\_|_| /_/--\ \_\/ /_/--\ |_|_/ |_|__ \_\/ _)_)
Welcome to the JHipster Generator
? May JHipster anonymously report usage statistics to improve the tool over time? Yes
? (1/13) What is the base name of your application? hipsample
? (2/13) What is your default Java package name? com.isajohnson.sample
? (3/13) Do you want to use Java 8? Yes (use Java 8)
? (4/13) Which *type* of authentication would you like to use? Token-based authentication (stateless, with a token)
? (5/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL)
? (6/13) Which *production* database would you like to use? MySQL
? (7/13) Which *development* database would you like to use? H2 in-memory with Web console
? (8/13) Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)
? (9/13) Do you want to use clustered HTTP sessions? No
? (10/13) Do you want to use WebSockets? No
? (11/13) Would you like to use Maven or Gradle for building the backend? Maven (recommended)
? (12/13) Would you like to use Grunt or Gulp.js for building the frontend? Grunt (recommended)
? (13/13) Would you like to use the Compass CSS Authoring Framework? No
Yeoman Doctor
Running sanity checks on your system
√ Global configuration file is valid
√ NODE_PATH matches the npm root
√ No .bowerrc file in home directory
√ No .yo-rc.json file in home directory
Everything looks all right!
E:\a_team\jhipster-sample>dir
Volume in drive E is Data
Volume Serial Number is 82AF-3531
Directory of E:\a_team\jhipster-sample
03/07/2015 08:02 AM <DIR> .
03/07/2015 08:02 AM <DIR> ..
03/07/2015 07:57 AM 56 .bowerrc
03/07/2015 07:13 AM 475 .editorconfig
03/07/2015 07:13 AM 344 .gitattributes
03/07/2015 07:13 AM 1,488 .gitignore
03/07/2015 07:13 AM 416 .jshintrc
03/07/2015 07:57 AM 543 .yo-rc.json
03/07/2015 07:57 AM 948 bower.json
03/07/2015 07:57 AM 14,782 Gruntfile.js
03/07/2015 08:00 AM <DIR> node_modules
03/07/2015 07:57 AM 1,517 package.json
03/07/2015 07:57 AM 28,672 pom.xml
03/07/2015 07:57 AM 48 README.md
03/07/2015 07:57 AM <DIR> src
03/07/2015 08:02 AM <DIR> target
11 File(s) 49,289 bytes
5 Dir(s) 569,444,192,256 bytes free
E:\a_team\jhipster-sample>mvn spring-boot:run
rem From another window:
E:\a_team\jhipster-sample>grunt serve
E:\a_team\jhipster-sample>mvn package
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:03.244s
[INFO] Finished at: Sat Mar 07 08:09:07 EST 2015
[INFO] Final Memory: 46M/443M
[INFO] ------------------------------------------------------------------------
E:\a_team\jhipster-sample\target>java -jar hipsample-0.0.1-SNAPSHOT.war
E:\a_team\jhipster-sampleg>yo jhipster
_ _ ___ __ _____ ____ ___ __ _____ __ __ _
| |_| | | | |_) ( (` | | | |_ | |_) ( (` | | / /\ / /` | |_/
|_| | |_| |_| _)_) |_| |_|__ |_| \ _)_) |_| /_/--\ \_\_, |_| \
____ ___ ___
| |_ / / \ | |_)
|_| \_\_/ |_| \
_ __ _ __ ___ ____ _ __
| | / /\ \ \ / / /\ | | \ | |_ \ \ / ( (`
\_|_| /_/--\ \_\/ /_/--\ |_|_/ |_|__ \_\/ _)_)
Welcome to the JHipster Generator
? (1/13) What is the base name of your application? hipsampleg
? (2/13) What is your default Java package name? com.isajohnson.sampleg
? (3/13) Do you want to use Java 8? Yes (use Java 8)
? (4/13) Which *type* of authentication would you like to use? Token-based authentication (stateless, with a token)
? (5/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL)
? (6/13) Which *production* database would you like to use? MySQL
? (7/13) Which *development* database would you like to use? H2 in-memory with Web console
? (8/13) Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)
? (9/13) Do you want to use clustered HTTP sessions? No
? (10/13) Do you want to use WebSockets? No
? (11/13) Would you like to use Maven or Gradle for building the backend? Gradle
? (12/13) Would you like to use Grunt or Gulp.js for building the frontend? Grunt (recommended)
? (13/13) Would you like to use the Compass CSS Authoring Framework? No
...
Running "wiredep:app" (wiredep) task
Running "wiredep:test" (wiredep) task
Done, without errors.
Execution Time (2015-03-07 13:14:34 UTC)
loading tasks 60ms ███ 2%
ngconstant:dev 368ms █████████████ 12%
wiredep:app 2.6s █████████████████████████████████████████████████████████████████████████████████████████ 84%
wiredep:test 77ms ███ 2%
Total 3.1s
E:\a_team\jhipster-sampleg>gradlew run
E:\a_team\jhipster-sampleg>gradlew tasks
:tasks
------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------
Application tasks
-----------------
bootRun - Run the project with support for auto-detecting main class and reloading static resources
installApp - Installs the project as a JVM application along with libs and OS specific scripts.
run - Runs this project as a JVM application
Build tasks
-----------
assemble - Assembles the outputs of this project.
bootRepackage - Repackage existing JAR and WAR archives so that they can be executed from the command line using 'java -jar'
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
classes - Assembles classes 'main'.
clean - Deletes the build directory.
jar - Assembles a jar archive containing the main classes.
testClasses - Assembles classes 'test'.
war - Generates a war archive with all the compiled classes, the web-app content and the libraries.
Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating]
Distribution tasks
------------------
assembleMainDist - Assembles the main distributions
distTar - Bundles the project as a distribution.
distZip - Bundles the project as a distribution.
installDist - Installs the project as a distribution as-is.
Documentation tasks
-------------------
javadoc - Generates Javadoc API documentation for the main source code.
scaladoc - Generates Scaladoc for the main source code.
Gatling tasks
-------------
gatlingRun
Grunt tasks
-----------
installGrunt - Runs 'npm install grunt-cli grunt' to install grunt-cli
Help tasks
----------
components - Displays the components produced by root project 'jhipster-sampleg'. [incubating]
dependencies - Displays all dependencies declared in root project 'jhipster-sampleg'.
dependencyInsight - Displays the insight into a specific dependency in root project 'jhipster-sampleg'.
help - Displays a help message.
projects - Displays the sub-projects of root project 'jhipster-sampleg'.
properties - Displays the properties of root project 'jhipster-sampleg'.
tasks - Displays the tasks runnable from root project 'jhipster-sampleg'.
Liquibase tasks
---------------
liquibaseDiffChangelog
Node tasks
----------
nodeSetup - Download and install a local node/npm version.
npmInstall - Install node packages from package.json.
npmSetup - Setup a specific version of npm to be used by the build.
Verification tasks
------------------
check - Runs all checks.
test - Runs the unit tests.
Other tasks
-----------
install - Installs the 'archives' artifacts into the local Maven repository.
scalaConsole - Starts a Scala REPL with the main runtime class path.
scalaTestConsole - Starts a Scala REPL with the test runtime class path.
setProdProperties
wrapper
Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.
Pattern: "npm_<command>": Executes an NPM command.
Pattern: "grunt_<task>": Executes a named grunt task.
To see all tasks and more detail, run gradlew tasks --all
To see more detail about a task, run gradlew help --task <task>
BUILD SUCCESSFUL
Total time: 5.617 secs
E:\a_team\jhipster-sampleg>gradlew build
:compileJava UP-TO-DATE
:compileScala UP-TO-DATE
:bower
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar
:findMainClass
:startScripts
:distTar
:distZip
:war UP-TO-DATE
:bootRepackage
:assemble
:compileTestJava
:compileTestScala UP-TO-DATE
:processTestResources
:testClasses
:test
[INFO] com.isajohnson.sampleg.config.CacheConfiguration - Remove Cache Manager metrics
[INFO] com.isajohnson.sampleg.config.CacheConfiguration - Closing Cache Manager
:check
:build
BUILD SUCCESSFUL
Total time: 44.29 secs
E:\a_team\jhipster-sampleg\build\libs>java -jar hipsampleg-0.1-SNAPSHOT.war