Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting started guide for Jhipster 4 latest state

Tags:

jhipster

Can someone post getting started guide for Jhipster 4.0 with angular 2? I don't care if it is not released. I just want to generate code with latest code on github and move on. Thanks.

like image 676
Otabek Kholikov Avatar asked Oct 07 '16 13:10

Otabek Kholikov


1 Answers

Update - wikipage published by Deepu on github: https://github.com/jhipster/generator-jhipster/blob/master/NG2-GUIDE.md

I figured out myself. But I cannot speak for the current state since I am not a developer.

  • Installation prerequisites:

    JDK(and JAVA_HOME env variable set), git client, npm, maven or gradle

  • First create a directory where you want to clone jhipster angular-2 branch. Then from that directory execute:

git clone -b angular-2 --single-branch https://github.com/jhipster/generator-jhipster.git

cd generator-jhipster

npm link

npm install -g gulp bower

  • Create app directory and from there

yo jhipster

Ignore upgrade offer and in the second question select Angular-2(beta)

  • Run the app

In case you picked Maven:

mvn spring-boot:run

In case you picked Gradle:

gradle bootRun

like image 91
Otabek Kholikov Avatar answered Nov 01 '22 10:11

Otabek Kholikov