Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于初始化项目的配置建议。。。 #1241

Closed
ghost opened this issue Jul 26, 2017 · 4 comments
Closed

关于初始化项目的配置建议。。。 #1241

ghost opened this issue Jul 26, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 26, 2017

使用egg-init工具新建了一个项目,忽然发现,配置各项东西太花时间了,有没有打算在配置文件中添加更多的默认配置,让用户选择哪些启用哪些不启用。比如session,mysql,mongoose等等

@atian25
Copy link
Member

atian25 commented Jul 26, 2017

暂时还没时间做,#379

如果是你们内部有多个项目的话,可以自己定义一个骨架。

@popomore
Copy link
Member

这种是靠上层框架封装的,脚手架做了也需要用户去配的。

@ghost
Copy link
Author

ghost commented Jul 26, 2017

嗯,是这样。就是初始化以后配置比较繁琐,挺费时间的

@atian25
Copy link
Member

atian25 commented Jul 26, 2017

@lzq920 如果你的部门有很多项目,你们应该基于 egg 封装一个上层框架,这样在应用那边就不需要配置了。骨架只能解决初始化阶段,但框架可以解决初始化 + 后续升级。

可以看下:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants