Skip to content

Commit 5ba9b67

Browse files
committed
Finish preface of The Rails Initialization Process.
1 parent 820b9b0 commit 5ba9b67

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

manuscript/initialization.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
[[the-rails-initialization-process]]
22
== Rails 初始化过程
3+
:imagesdir: ../images
4+
:numbered:
5+
6+
// chinakr 翻译
7+
8+
[.chapter-abstract]
9+
--
10+
本文介绍 Rails 初始化过程的内部细节,内容较深,建议 Rails 高级开发者阅读。
11+
12+
读完本文后,您将学到:
13+
14+
* 如何使用 `rails server`;
15+
* Rails 初始化过程的时间表;
16+
* 引导过程中所需的不同文件的所在位置;
17+
* `Rails::Server` 接口的定义和使用方式。
18+
--
19+
20+
本文介绍默认情况下,Rails 应用初始化过程中的每一个方法调用,详细解释各个步骤的具体细节。本文将聚焦于使用 `rails server` 启动 Rails 应用时发生的事情。
21+
22+
NOTE: 除非另有说明,本文中出现的路径都是相对于 Rails 或 Rails 应用所在目录的相对路径。
23+
24+
TIP: 如果想一边阅读本文一边查看 link:$$https://github.com/rails/rails$$[Rails 源代码],推荐在 GitHub 中使用 `t` 快捷键打开文件查找器,以便快速查找相关文件。
25+
26+
[[launch]]
27+
### 启动

0 commit comments

Comments
 (0)