Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BerlinChan committed May 12, 2017
1 parent 0f99e7a commit 9c9ef7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- 备份mongodb:`mongodump -h 127.0.0.1:27017 -d auto-news -o C:\data\backup\`
- 恢复mongodb:`mongorestore -h 127.0.0.1:27017 -d auto-news C:\data\backup\auto-news`
- 构建docker image:`docker build -t autonews-api .`
- 运行docker image:`docker run -it -p 3090:3090 autonews-api`
- 运行docker image:`docker run -d --name autonews-api-container --restart always -p 3090:3090 autonews-api`
- stop all Docker container: `docker stop $(docker ps -a -q)`
- remove all Docker container: `docker rm $(docker ps -a -q)`
- 使用[qydev.com](http://qydev.com)的内网穿透: `ngrok -config=ngrok.cfg -subdomain autonews 3090`
2 changes: 1 addition & 1 deletion utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

module.exports = {
HTTP_PORT: 3090,//HTTP server port
DB_SERVER: 'mongodb://localhost:27017/auto-news',// docker: Mac<host's ip> Win<localhost>
DB_SERVER: 'mongodb://localhost:27017/auto-news',// docker: Mac<host's ip> Win<vEthernet IPv4>
};

0 comments on commit 9c9ef7b

Please sign in to comment.