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

Add README.cn.md #957

Merged
merged 8 commits into from Mar 16, 2018

Conversation

Projects
None yet
4 participants
@wi1dcard
Copy link
Contributor

wi1dcard commented Mar 14, 2018

Purpose

To add chinese readme file.

Changes

  • Modified some sections of README.md
  • Add README.cn.md
  • Add .DS_Store into .gitignore
  • No code was changed.

Effect

Users from china will be easier to get started.

Tests

Nothing.

Usage

Nothing.

@coveralls

This comment has been minimized.

Copy link

coveralls commented Mar 14, 2018

Coverage Status

Coverage remained the same at 52.298% when pulling 8c18d84 on wi1dcard:master into 581eb9c on phpbrew:master.

@coveralls

This comment has been minimized.

Copy link

coveralls commented Mar 14, 2018

Coverage Status

Coverage decreased (-0.2%) to 52.14% when pulling 3f18f52 on wi1dcard:master into 581eb9c on phpbrew:master.

@morozov
Copy link
Contributor

morozov left a comment

@wi1dcard thank you for your contribution. Unfortunately, I can't read Chinese. @jhdxr maybe you could review this?

.gitignore Outdated
@@ -6,3 +6,4 @@
tags
/build/logs
*.phar
.DS_Store

This comment has been minimized.

@morozov

morozov Mar 14, 2018

Contributor

Please remove this. It doesn't belong to the project.

This comment has been minimized.

@wi1dcard

wi1dcard Mar 14, 2018

Contributor

Removed :D


## 开始使用

接下来,我们假定你有充足的时间来学习,这将会是一个循序前进的教程——教你如何配置 phpbrew。

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

循序前进 => 循序渐进

phpbrew 能做什么?

- 配置选项简化为「Variants」,无需担心路径问题。
- 支持使用 PDO,Mysql,sqlite,debug 等不同「Variants」编译 PHP。

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

MySQL,或者按照原来的全部保持小写mysql

$ phpbrew known --more
```

刷新 PHP 发布信息:

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

刷新=>更新

This comment has been minimized.

@wi1dcard

wi1dcard Mar 15, 2018

Contributor

此处再三考虑,担心译为「更新」,是否会导致部分用户理解为「升级」?

This comment has been minimized.

@jhdxr

jhdxr Mar 16, 2018

Member

好吧,能够理解。
我之前考虑的原因是刷新一般对应的是 refresh,但用更新的确有可能造成这样的误解

$ phpbrew update
```

刷新旧版本(低于5.4):

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

获取旧版本

This comment has been minimized.

@wi1dcard

wi1dcard Mar 15, 2018

Contributor

此处同上。

$ phpbrew install -j $(nproc) 5.4.0 +default
```

测试环境:

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

这个不是测试环境,而是编译完成后执行测试用例


## 拓展配置选项

更多拓展配置变量,你可以执行如下命令:

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

如果想要传递更多拓展配置变量,你可以这么做:

$ phpbrew switch 5.4.18
```

停止服务:

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

翻译为关闭更好?
毕竟服务可以算是一个术语


而 PHP 扩展的配置文件位于:

Extension configuration files should be put in:

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

这一行可以删去(包含它上/下面的一个空行)

## 安装拓展应用

phpbrew 内置了部分应用命令。

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

phpbrew 内置了用来获取部分 PHP 应用的 app 命令。


### 库路径设置

其次,请设置用于查找库文件的默认前缀,可选值:`macports``homebrew``debian``ubuntu` 或是自定义路径。

This comment has been minimized.

@jhdxr

jhdxr Mar 15, 2018

Member

冒号可以改为

@jhdxr

jhdxr approved these changes Mar 16, 2018

@morozov morozov merged commit af402a8 into phpbrew:master Mar 16, 2018

3 checks passed

continuous-integration/styleci/pr The StyleCI analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 52.298%
Details

kevinnio added a commit to kevinnio/phpbrew that referenced this pull request Oct 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment