Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pktangyue committed Jul 29, 2015
1 parent 1eafa68 commit 83de221
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions MongoProfilerAPI/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
coverage/
8 changes: 5 additions & 3 deletions MongoProfilerAPI/README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ mongodb | 3.0.4

开始运行
-------
首先需要安装依赖包
首先需要安装依赖包

npm install

同时确保 `mongodb` 服务已开启。

安装完成后,运行
运行命令:

node app.js

打开浏览器,输入 `http://127.0.0.1/api/`,查看可使用的 API。
打开浏览器,输入 `http://127.0.0.1:3000/api/`,查看可使用的 API。

API 介绍
--------
Expand Down
4 changes: 4 additions & 0 deletions MongoProfilerAPI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "[email protected]:pktangyue/MongoProfilerAPI.git"
},
"author": "pktangyue",
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 83de221

Please sign in to comment.