Skip to content

Commit 2032c93

Browse files
committed
readme
1 parent e723353 commit 2032c93

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CodePushServer
22

3-
CodePushServer is a CodePush progam server! microsoft CodePush cloud is slow in China, we can use this to build our's cloud server. I use [qiniu](http://www.qiniu.com/) to store the files, because of it simple and quick! Just thanks microsoft
3+
CodePushServer is a CodePush progam server! microsoft CodePush cloud is slow in China, we can use this to build our's cloud server. I use [qiniu](http://www.qiniu.com/) to store the files, because of it simple and quick! Or you can use local storage, just modify config.json file, it's simple configure.
44

55
## INSTALL
66

@@ -17,6 +17,8 @@ $ npm install
1717
$ vim config/config.json
1818
```
1919

20+
## Storage mode [local/qiniu]
21+
2022
## RUN
2123

2224
```shell
@@ -29,6 +31,13 @@ or point config file and ENV
2931
$ CONFIG_FILE=/path/to/config.json NODE_ENV=production node ./bin/www
3032
```
3133

34+
## Default listen Host/Port 127.0.0.1/3000
35+
you can change like this.
36+
37+
```shell
38+
$ PORT=3000 HOST=127.0.0.1 NODE_ENV=production node ./bin/www
39+
```
40+
3241
## code-push-cli
3342
Use code-push-cli manager CodePushServer
3443

0 commit comments

Comments
 (0)