Skip to content

Commit 17f76c8

Browse files
committed
fix readme
1 parent f75ef1f commit 17f76c8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $ code-push login http://codepush.19910225.com:8080 #登录
4040

4141
```shell
4242
$ npm install code-push-server -g
43-
$ code-push-server-db init --dbhost localhost --dbuser root --dbpassword #初始化数据库
43+
$ code-push-server-db init --dbhost localhost --dbuser root --dbpassword #初始化mysql数据库
4444
$ code-push-server #启动服务 浏览器中打开 http://127.0.0.1:3000
4545
```
4646

@@ -50,7 +50,7 @@ $ code-push-server #启动服务 浏览器中打开 http://127.0.0.1:3000
5050
$ git clone https://github.com/lisong/code-push-server.git
5151
$ cd code-push-server
5252
$ npm install
53-
$ ./bin/db init --dbhost localhost --dbuser root --dbpassword #初始化数据库
53+
$ ./bin/db init --dbhost localhost --dbuser root --dbpassword #初始化mysql数据库
5454
$ ./bin/www #启动服务 浏览器中打开 http://127.0.0.1:3000
5555
```
5656

@@ -118,16 +118,14 @@ you can change like this.
118118
$ PORT=3000 HOST=127.0.0.1 NODE_ENV=production node ./bin/www # or PORT=3000 HOST=127.0.0.1 NODE_ENV=production code-push-server
119119
```
120120

121-
## code-push-cli
121+
## [code-push-cli](https://github.com/Microsoft/code-push)
122122
Use code-push-cli manager CodePushServer
123123

124124
```shell
125125
$ npm install code-push-cli@latest -g
126126
$ code-push login http://127.0.0.1:3000 #login in browser account:admin password:123456
127127
```
128128

129-
[code-push-cli source](https://github.com/Microsoft/code-push)
130-
131129
## [react-native-code-push](https://github.com/Microsoft/react-native-code-push) for react-native
132130

133131
```shell

0 commit comments

Comments
 (0)