improve document

This commit is contained in:
binaryify 2017-04-14 18:23:28 +08:00
parent 5fdc25506a
commit e9fb55cb53
2 changed files with 20 additions and 1 deletions

View File

@ -50,6 +50,16 @@ $ npm install
``` shell
$ node app.js
```
服务器启动默认端口为3000,若不想使用3000端口,可使用以下命令:
Mac/Linux
```shell
$ PORT=4000 node app.js
```
windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
```shell
$ set PORT=4000 && node app.js
```
## 使用文档
[文档地址](https://binaryify.github.io/NeteaseCloudMusicApi)

View File

@ -33,7 +33,16 @@ $ npm install
$ node app.js
```
服务器启动,默认端口为3000
服务器启动默认端口为3000,若不想使用3000端口,可使用以下命令:
Mac/Linux
```shell
$ PORT=4000 node app.js
```
windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
```shell
$ set PORT=4000 && node app.js
```
## 接口文档