JHipster 5 availability

2019-03-30 09:27发布

问题:

Is JHipster 5 (with Spring Boot 2) available to play around with? I've noticed that there is mention about work on JHipster 5 in the release notes, but can't see any info on how to install/run a 'preview' version of 5.

回答1:

You can use directly the master version, no need to wait for a release:

  • git clone https://github.com/jhipster/generator-jhipster
  • cd generator-jhipster
  • yarn install
  • yarn link

Then, when you want to generate a new project, using master branch:

  • mkdir newapp
  • cd newapp
  • yarn link generator-jhipster
  • jhipster

Don't forget to update regularly the master branch, as the community is very active and there are new commits every day :-)



回答2:

If you are using Windows, use npm instead of yarn (yarn seems to be having some issues on Windows).

git clone https://github.com/jhipster/generator-jhipster

  • cd generator-jhipster
  • npm install
  • npm link

Then, when you want to generate a new project, using master branch:

  • mkdir newapp
  • cd newapp
  • npm link generator-jhipster
  • jhipster


标签: jhipster