问题
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:
- 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 - Delete src folder
- Run
jhipster --with-entities
to re-generate app with new settings - 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