complete untranslated part of guid - setup.jade

This commit is contained in:
baiyangcao 2017-03-14 12:47:36 +08:00 committed by 雪狼
parent c48406cb9f
commit ec19287654
1 changed files with 18 additions and 1 deletions

View File

@ -88,16 +88,25 @@ a#non-essential
:marked :marked
## Delete _non-essential_ files (optional) ## Delete _non-essential_ files (optional)
## 删除*非必需*文件(可选)
You can quickly delete the _non-essential_ files that concern testing and QuickStart repository maintenance You can quickly delete the _non-essential_ files that concern testing and QuickStart repository maintenance
(***including all git-related artifacts*** such as the `.git` folder and `.gitignore`!). (***including all git-related artifacts*** such as the `.git` folder and `.gitignore`!).
你可以快速删除一些涉及到测试和维护快速开始版本库的 *非必需* 文件
***包括所有git相关的文件***如 `.git` 文件夹和 `.gitignore`!)。
.alert.is-important .alert.is-important
:marked :marked
Do this only in the beginning to avoid accidentally deleting your own tests and git setup! Do this only in the beginning to avoid accidentally deleting your own tests and git setup!
请只在开始时执行此删除操作以防你自己的测试和git文件被意外删除
:marked :marked
Open a terminal window in the project folder and enter the following commands for your environment: Open a terminal window in the project folder and enter the following commands for your environment:
在项目目录下打开一个终端窗口,并根据你的操作系统执行以下命令:
### OS/X (bash) ### OS/X (bash)
code-example(language="sh" class="code-shell"). code-example(language="sh" class="code-shell").
xargs rm -rf < non-essential-files.osx.txt xargs rm -rf < non-essential-files.osx.txt
@ -159,16 +168,24 @@ block core-files
All guides and cookbooks have _at least these core files_. All guides and cookbooks have _at least these core files_.
Each file has a distinct purpose and evolves independently as the application grows. Each file has a distinct purpose and evolves independently as the application grows.
所有指南和烹饪书都至少有*这几个核心文件*。每个文件都有独特的用途,并且随着应用的成长各自独立演变。
Files outside `src/` concern building, deploying, and testing your app. Files outside `src/` concern building, deploying, and testing your app.
They include configuration files and external dependencies. They include configuration files and external dependencies.
`src/` 目录之外的文件为构建、部署和测试app相关的文件他们只包括配置文件和外部依赖。
Files inside `src/` "belong" to your app. Files inside `src/` "belong" to your app.
Add new Typescript, HTML and CSS files inside the `src/` directory, most of them inside `src/app`, Add new Typescript, HTML and CSS files inside the `src/` directory, most of them inside `src/app`,
unless told to do otherwise. unless told to do otherwise.
`src/` 目录下的文件才“属于”你的app。
除非明确指出,否则教程中添加的 TypeScriptHTML和CSS文件都在`src/`目录下,
大多数在`src/app`目录中。
The following are all in `src/` The following are all in `src/`
所有指南和烹饪书都至少有*这几个核心文件*。每个文件都有独特的用途,并且随着应用的成长各自独立演变。 `src/`目录文件详情如下:
style td, th {vertical-align: top} style td, th {vertical-align: top}
table(width="100%") table(width="100%")