Duplicate jhipster project

点点圈 提交于 2019-12-10 15:27:43

问题


I have developped a Jhipster project. I need to create a new one which will be quite the same (but not the same). I would like to duplicate the first project. The second project would just have a different name and different main package name.

Is there a way to do that properly?

Thanks


回答1:


  1. Duplicate your project folder, in new folder edit .yo-rc.json file and change name and package. You may also want to change the rememberMeKey
  2. Delete src folder
  3. Run jhipster --with-entities to re-generate app with new settings
  4. Copy back from old project what you've added



回答2:


Delete yo-rc.json .... and generate your new entity then every thing will be ok (Tested)



来源:https://stackoverflow.com/questions/31762573/duplicate-jhipster-project

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