JHipster 5 availability

做~自己de王妃 提交于 2020-01-01 06:36:05

问题


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


来源:https://stackoverflow.com/questions/48898465/jhipster-5-availability

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!