重复的jhipster项目 [英] Duplicate jhipster project

查看:37
本文介绍了重复的jhipster项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个Jhipster项目. 我需要创建一个新的,它将完全相同(但不相同).我想复制第一个项目. 第二个项目将具有不同的名称和不同的主包名称.

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?

谢谢

推荐答案

  1. 复制项目文件夹,在新文件夹中编辑.yo-rc.json文件,并更改名称和包.您可能还需要更改RememberMeKey
  2. 删除src文件夹
  3. 运行jhipster --with-entities以使用新设置重新生成应用
  4. 从旧项目复制回已添加的内容
  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

这篇关于重复的jhipster项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆