Skip to content

Commit ea98e8b

Browse files
committed
Merge pull request #143 from meolu/simplify-zh-doc
简化文档,统一引导用户到walle-web.io/docs
2 parents 9b6c909 + 2a047dd commit ea98e8b

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

docs/README-zh.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Walle 一个web部署系统工具,可能也是个持续发布工具,配置
2424
* 代码检出后处理任务post-deploy(如vendor)
2525
* 同步后更新软链前置任务pre-release
2626
* 发布完毕后收尾任务post-release(如重启)
27-
* 执行sql构建(不要担心忘记测试环境sql同步)
2827
* 线上文件指纹确认
2928
* 多机器并发传输文件(Ansible)
3029

@@ -61,51 +60,6 @@ composer install # 如果缺少bower-asset的话, 先安装:composer global
6160
* 管理员审核上线单
6261
* 开发者发起上线
6362

64-
高级自定义
65-
--------
66-
此时你可能考虑要作为一个公司内部新项目的试用版本,那么你将需要做以下的处理,更适合业务需求。
67-
68-
* 配置允许注册的邮箱后缀
69-
```php
70-
vi config/params.php
71-
72-
'mail-suffix' => [ // 允许注册的邮箱后缀,一般为公司邮箱后缀,可多个
73-
'huamanshu.com', // 如:只允许花满树邮箱注册
74-
]
75-
```
76-
77-
* 配置企业邮箱smtp
78-
```php
79-
vi config/local.php +20
80-
81-
# 配置mail smtp模块
82-
'transport' => [
83-
'host' => 'smtp.huamanshu.com', # smtp 发件地址
84-
'username' => 'service@huamanshu.com', # smtp 发件用户名
85-
'password' => 'K84erUuxg1bHqrfD', # smtp 发件人的密码
86-
'port' => 25, # smtp 端口
87-
'encryption' => 'tls', # smtp 协议
88-
],
89-
'messageConfig' => [
90-
'charset' => 'UTF-8',
91-
'from' => ['service@huamanshu.com' => '花满树出品'], # smtp 发件用户名(须与mail.transport.username一致)
92-
],
93-
```
94-
95-
* 配置日志路径
96-
```php
97-
vi config/params.php
98-
99-
'log.dir' => '/tmp/walle/', # 注意读写权限
100-
```
101-
102-
* 指定语言
103-
```php
104-
vi config/local.php +36
105-
106-
'language' => 'zh', # zh => 中文, en => english
107-
```
108-
10963

11064
To Do List
11165
----------
@@ -155,5 +109,5 @@ To Do List
155109
-------
156110
- [常见问题及解决办法手册](https://walle-web.io/docs/troubleshooting.html)
157111
- [submit issue](https://github.com/meolu/walle-web/issues/new)
158-
- [官方文档手册](http://doc.huamanshu.com/%E7%93%A6%E5%8A%9B)
112+
- [官方文档手册](https://walle-web.io/docs)
159113
- qq群:482939318

0 commit comments

Comments
 (0)