-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
docs: add egg-scripts to deployment #1279
Conversation
docs/source/zh-cn/core/deployment.md
Outdated
|
||
### 自定义框架启动 | ||
#### 手动创建启动文件 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这段是不是干脆干掉了?
Codecov Report
@@ Coverage Diff @@
## master #1279 +/- ##
=======================================
Coverage 99.71% 99.71%
=======================================
Files 29 29
Lines 711 711
=======================================
Hits 709 709
Misses 2 2 Continue to review full report at Codecov.
|
docs/source/zh-cn/core/deployment.md
Outdated
|
||
### 启动配置项 | ||
**注意:该方式不会读取应用目录下的 `index.js`。** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这一句没什么必要吧?可能很多人都不知道 Index.js 是什么..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好,干掉吧。
Codecov Report
@@ Coverage Diff @@
## master #1279 +/- ##
=======================================
Coverage 99.71% 99.71%
=======================================
Files 29 29
Lines 711 711
=======================================
Hits 709 709
Misses 2 2 Continue to review full report at Codecov.
|
这个还有问题不? |
```json | ||
{ | ||
"scripts": { | ||
"start": "egg-scripts start --daemon", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
daemon 不是默认的么
可以自己合并 |
那天看到之前 RFC 里面你建议默认前台的,而且 后面多是 docker 场景,就改了,那个 PR 最后有 cc 你的,可能没看到
发自我的 iPhone
… 在 2017年8月4日,21:55,Haoliang Gao ***@***.***> 写道:
@popomore approved this pull request.
In docs/source/zh-cn/core/deployment.md:
>
-egg.startCluster({
- baseDir: __dirname,
-});
+```json
+{
+ "scripts": {
+ "start": "egg-scripts start --daemon",
daemon 不是默认的么
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
docs: add egg-scripts to deployment (#1279)
Checklist
Affected core subsystem(s)
Description of change
eggjs/egg-scripts#1