{"action":"created","issue":{"url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/issues/15","labels_url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/issues/15/comments","events_url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/issues/15/events","html_url":"https://github.com/TeijigoTeaTime/meshido-backend/pull/15","id":121904028,"number":15,"title":"add node-config and config files for each environment","user":{"login":"takayukifujisawa","id":15196825,"avatar_url":"https://avatars.githubusercontent.com/u/15196825?v=3","gravatar_id":"","url":"https://api.github.com/users/takayukifujisawa","html_url":"https://github.com/takayukifujisawa","followers_url":"https://api.github.com/users/takayukifujisawa/followers","following_url":"https://api.github.com/users/takayukifujisawa/following{/other_user}","gists_url":"https://api.github.com/users/takayukifujisawa/gists{/gist_id}","starred_url":"https://api.github.com/users/takayukifujisawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takayukifujisawa/subscriptions","organizations_url":"https://api.github.com/users/takayukifujisawa/orgs","repos_url":"https://api.github.com/users/takayukifujisawa/repos","events_url":"https://api.github.com/users/takayukifujisawa/events{/privacy}","received_events_url":"https://api.github.com/users/takayukifujisawa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kawanamiyuu","id":1461463,"avatar_url":"https://avatars.githubusercontent.com/u/1461463?v=3","gravatar_id":"","url":"https://api.github.com/users/kawanamiyuu","html_url":"https://github.com/kawanamiyuu","followers_url":"https://api.github.com/users/kawanamiyuu/followers","following_url":"https://api.github.com/users/kawanamiyuu/following{/other_user}","gists_url":"https://api.github.com/users/kawanamiyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/kawanamiyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawanamiyuu/subscriptions","organizations_url":"https://api.github.com/users/kawanamiyuu/orgs","repos_url":"https://api.github.com/users/kawanamiyuu/repos","events_url":"https://api.github.com/users/kawanamiyuu/events{/privacy}","received_events_url":"https://api.github.com/users/kawanamiyuu/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-13T06:57:08Z","updated_at":"2015-12-14T23:12:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/pulls/15","html_url":"https://github.com/TeijigoTeaTime/meshido-backend/pull/15","diff_url":"https://github.com/TeijigoTeaTime/meshido-backend/pull/15.diff","patch_url":"https://github.com/TeijigoTeaTime/meshido-backend/pull/15.patch"},"body":"### 何したか\r\n* node-configの導入\r\n* develop用とheroku用のconfig追加\r\n* 起動スクリプトに環境変数を渡すうようにした\r\n\r\n### 確認項目\r\n1. `https://github.com/TeijigoTeaTime/meshido-backend.git`をclone\r\n1. `npm install`を実行\r\n1. `npm start`を実行\r\n1. `http://localhost:3000/`にアクセス「Express(for heroku)」と表示されることを確認\r\n1. サーバーを止め、`npm run start-dev`を実行\r\n1. `http://localhost:3000/`にアクセス「Express(for develop)」と表示されることを確認\r\n\r\n### 確認項目(追加)\r\n1. `npm run start-dev`を実行\r\n1. ログに以下の通り出力されること\r\n\r\n```\r\n--- Meshido backend starting. ---\r\n env:NODE_ENV=development\r\n env:MONGO_URI=mongodb://localhost:27017/meshido\r\n env:TZ=Asia/Tokyo\r\n---------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/issues/comments/164590228","html_url":"https://github.com/TeijigoTeaTime/meshido-backend/pull/15#issuecomment-164590228","issue_url":"https://api.github.com/repos/TeijigoTeaTime/meshido-backend/issues/15","id":164590228,"user":{"login":"kawanamiyuu","id":1461463,"avatar_url":"https://avatars.githubusercontent.com/u/1461463?v=3","gravatar_id":"","url":"https://api.github.com/users/kawanamiyuu","html_url":"https://github.com/kawanamiyuu","followers_url":"https://api.github.com/users/kawanamiyuu/followers","following_url":"https://api.github.com/users/kawanamiyuu/following{/other_user}","gists_url":"https://api.github.com/users/kawanamiyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/kawanamiyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawanamiyuu/subscriptions","organizations_url":"https://api.github.com/users/kawanamiyuu/orgs","repos_url":"https://api.github.com/users/kawanamiyuu/repos","events_url":"https://api.github.com/users/kawanamiyuu/events{/privacy}","received_events_url":"https://api.github.com/users/kawanamiyuu/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T23:12:45Z","updated_at":"2015-12-14T23:12:45Z","body":"![寿司ゆき:ok](https://d1zd1v0cxnbx2w.cloudfront.net/images/sets/sushiyuki/03.png) "}}