Skip to content

Commit 93cfef3

Browse files
authored
Update README.md
1 parent 2edd001 commit 93cfef3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ composer install
3232
详细部署说明
3333
----
3434

35-
__1.安装composer(php依赖包工具)__
35+
__1. 安装composer(php依赖包工具)__
3636

3737
```shell
3838
curl -sS https://getcomposer.org/installer | php
@@ -42,15 +42,15 @@ mv composer.phar /usr/local/bin/composer
4242
注意:如果未将php解释器程序设置为环境变量PATH中,需要设置。因为composer文件第一行为#!/usr/bin/env php,并不能修改。
4343
更加详细的对composer说明:http://blog.csdn.net/zzulp/article/details/18981029
4444

45-
__2.composer install__
45+
__2. composer install__
4646

4747
切换到PHPWebIM项目目录,执行指令composer install,如很慢则
4848

4949
```shell
5050
composer install --prefer-dist
5151
```
5252

53-
__3.Ningx配置__
53+
__3. Ningx配置__
5454

5555
> 这里未使用swoole_framework提供的Web AppServer
5656
> Apache请参照Nginx配置,自行修改实现
@@ -81,7 +81,7 @@ server
8181
}
8282
```
8383
84-
__4.修改配置PHPWebIM/config.php__
84+
__4. 修改配置PHPWebIM/config.php__
8585
8686
```php
8787
$config['server'] = array(
@@ -103,7 +103,7 @@ $config['server'] = array(
103103
* webim.data_dir用于修改聊天记录存储的目录,必须有可写权限
104104
* server.origin为Comet跨域设置,必须修改origin才可以支持IE等不支持WebSocket的浏览器
105105
106-
__5.启动WebSocket服务器__
106+
__5. 启动WebSocket服务器__
107107
108108
```shell
109109
php PHPWebIM/webim_server.php
@@ -114,7 +114,7 @@ IE浏览器不支持WebSocket,需要使用FlashWebSocket模拟,请修改flas
114114
php PHPWebIM/flash_policy.php
115115
```
116116
117-
__6.绑定host与访问聊天窗口(可选)__
117+
__6. 绑定host与访问聊天窗口(可选)__
118118
119119
如果URL直接使用IP:PORT,这里不需要设置。
120120
@@ -128,7 +128,7 @@ vi /etc/hosts
128128
127.0.0.1 im.swoole.com
129129
```
130130
131-
用浏览器打开:http://im.swoole.com
131+
用浏览器打开:http://im.swoole.com/
132132
133133
快速了解项目架构
134134
----

0 commit comments

Comments
 (0)