{"action":"closed","number":80,"pull_request":{"url":"https://api.github.com/repos/restccnu/restccnu/pulls/80","id":97435169,"html_url":"https://github.com/restccnu/restccnu/pull/80","diff_url":"https://github.com/restccnu/restccnu/pull/80.diff","patch_url":"https://github.com/restccnu/restccnu/pull/80.patch","issue_url":"https://api.github.com/repos/restccnu/restccnu/issues/80","number":80,"state":"closed","locked":false,"title":"添加docker开发环境","user":{"login":"neo1218","id":10671733,"avatar_url":"https://avatars.githubusercontent.com/u/10671733?v=3","gravatar_id":"","url":"https://api.github.com/users/neo1218","html_url":"https://github.com/neo1218","followers_url":"https://api.github.com/users/neo1218/followers","following_url":"https://api.github.com/users/neo1218/following{/other_user}","gists_url":"https://api.github.com/users/neo1218/gists{/gist_id}","starred_url":"https://api.github.com/users/neo1218/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo1218/subscriptions","organizations_url":"https://api.github.com/users/neo1218/orgs","repos_url":"https://api.github.com/users/neo1218/repos","events_url":"https://api.github.com/users/neo1218/events{/privacy}","received_events_url":"https://api.github.com/users/neo1218/received_events","type":"User","site_admin":false},"body":"现在环境明确分为3个部分\r\n\r\n+ 开发环境: docker-compose.dev.yml, flask app跑在主机上, 利用flask的hot reload方便开发, 且无需手动安装任何外部环境(如: 数据库) \"上帝说要有光, 于是就有了光\", 就是这种感觉😄\r\n+ 测试环境: docker-compose.test.yml, flask app跑在容器里, 单元测试\r\n+ 部署环境: docker-compose.yml, flask app跑在容器里, 部署运行","created_at":"2016-12-10T19:31:04Z","updated_at":"2016-12-10T19:31:41Z","closed_at":"2016-12-10T19:31:41Z","merged_at":"2016-12-10T19:31:41Z","merge_commit_sha":"45718d76c3001688ef87c5b671080a95280330c2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/restccnu/restccnu/pulls/80/commits","review_comments_url":"https://api.github.com/repos/restccnu/restccnu/pulls/80/comments","review_comment_url":"https://api.github.com/repos/restccnu/restccnu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/restccnu/restccnu/issues/80/comments","statuses_url":"https://api.github.com/repos/restccnu/restccnu/statuses/92d818d96979b084b4827a5bb4d4e6dff8e9997a","head":{"label":"restccnu:development","ref":"development","sha":"92d818d96979b084b4827a5bb4d4e6dff8e9997a","user":{"login":"restccnu","id":22377500,"avatar_url":"https://avatars.githubusercontent.com/u/22377500?v=3","gravatar_id":"","url":"https://api.github.com/users/restccnu","html_url":"https://github.com/restccnu","followers_url":"https://api.github.com/users/restccnu/followers","following_url":"https://api.github.com/users/restccnu/following{/other_user}","gists_url":"https://api.github.com/users/restccnu/gists{/gist_id}","starred_url":"https://api.github.com/users/restccnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restccnu/subscriptions","organizations_url":"https://api.github.com/users/restccnu/orgs","repos_url":"https://api.github.com/users/restccnu/repos","events_url":"https://api.github.com/users/restccnu/events{/privacy}","received_events_url":"https://api.github.com/users/restccnu/received_events","type":"Organization","site_admin":false},"repo":{"id":61441942,"name":"restccnu","full_name":"restccnu/restccnu","owner":{"login":"restccnu","id":22377500,"avatar_url":"https://avatars.githubusercontent.com/u/22377500?v=3","gravatar_id":"","url":"https://api.github.com/users/restccnu","html_url":"https://github.com/restccnu","followers_url":"https://api.github.com/users/restccnu/followers","following_url":"https://api.github.com/users/restccnu/following{/other_user}","gists_url":"https://api.github.com/users/restccnu/gists{/gist_id}","starred_url":"https://api.github.com/users/restccnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restccnu/subscriptions","organizations_url":"https://api.github.com/users/restccnu/orgs","repos_url":"https://api.github.com/users/restccnu/repos","events_url":"https://api.github.com/users/restccnu/events{/privacy}","received_events_url":"https://api.github.com/users/restccnu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/restccnu/restccnu","description":"华师匣子restful api","fork":false,"url":"https://api.github.com/repos/restccnu/restccnu","forks_url":"https://api.github.com/repos/restccnu/restccnu/forks","keys_url":"https://api.github.com/repos/restccnu/restccnu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restccnu/restccnu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restccnu/restccnu/teams","hooks_url":"https://api.github.com/repos/restccnu/restccnu/hooks","issue_events_url":"https://api.github.com/repos/restccnu/restccnu/issues/events{/number}","events_url":"https://api.github.com/repos/restccnu/restccnu/events","assignees_url":"https://api.github.com/repos/restccnu/restccnu/assignees{/user}","branches_url":"https://api.github.com/repos/restccnu/restccnu/branches{/branch}","tags_url":"https://api.github.com/repos/restccnu/restccnu/tags","blobs_url":"https://api.github.com/repos/restccnu/restccnu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restccnu/restccnu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restccnu/restccnu/git/refs{/sha}","trees_url":"https://api.github.com/repos/restccnu/restccnu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restccnu/restccnu/statuses/{sha}","languages_url":"https://api.github.com/repos/restccnu/restccnu/languages","stargazers_url":"https://api.github.com/repos/restccnu/restccnu/stargazers","contributors_url":"https://api.github.com/repos/restccnu/restccnu/contributors","subscribers_url":"https://api.github.com/repos/restccnu/restccnu/subscribers","subscription_url":"https://api.github.com/repos/restccnu/restccnu/subscription","commits_url":"https://api.github.com/repos/restccnu/restccnu/commits{/sha}","git_commits_url":"https://api.github.com/repos/restccnu/restccnu/git/commits{/sha}","comments_url":"https://api.github.com/repos/restccnu/restccnu/comments{/number}","issue_comment_url":"https://api.github.com/repos/restccnu/restccnu/issues/comments{/number}","contents_url":"https://api.github.com/repos/restccnu/restccnu/contents/{+path}","compare_url":"https://api.github.com/repos/restccnu/restccnu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restccnu/restccnu/merges","archive_url":"https://api.github.com/repos/restccnu/restccnu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restccnu/restccnu/downloads","issues_url":"https://api.github.com/repos/restccnu/restccnu/issues{/number}","pulls_url":"https://api.github.com/repos/restccnu/restccnu/pulls{/number}","milestones_url":"https://api.github.com/repos/restccnu/restccnu/milestones{/number}","notifications_url":"https://api.github.com/repos/restccnu/restccnu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restccnu/restccnu/labels{/name}","releases_url":"https://api.github.com/repos/restccnu/restccnu/releases{/id}","deployments_url":"https://api.github.com/repos/restccnu/restccnu/deployments","created_at":"2016-06-18T16:15:22Z","updated_at":"2016-11-12T15:21:09Z","pushed_at":"2016-12-10T19:31:41Z","git_url":"git://github.com/restccnu/restccnu.git","ssh_url":"git@github.com:restccnu/restccnu.git","clone_url":"https://github.com/restccnu/restccnu.git","svn_url":"https://github.com/restccnu/restccnu","homepage":"https://ccnubox.muxixyz.com/api/","size":1512,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"restccnu:master","ref":"master","sha":"62b99a479a1c788204e960f1bc72c6a8fb98ca15","user":{"login":"restccnu","id":22377500,"avatar_url":"https://avatars.githubusercontent.com/u/22377500?v=3","gravatar_id":"","url":"https://api.github.com/users/restccnu","html_url":"https://github.com/restccnu","followers_url":"https://api.github.com/users/restccnu/followers","following_url":"https://api.github.com/users/restccnu/following{/other_user}","gists_url":"https://api.github.com/users/restccnu/gists{/gist_id}","starred_url":"https://api.github.com/users/restccnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restccnu/subscriptions","organizations_url":"https://api.github.com/users/restccnu/orgs","repos_url":"https://api.github.com/users/restccnu/repos","events_url":"https://api.github.com/users/restccnu/events{/privacy}","received_events_url":"https://api.github.com/users/restccnu/received_events","type":"Organization","site_admin":false},"repo":{"id":61441942,"name":"restccnu","full_name":"restccnu/restccnu","owner":{"login":"restccnu","id":22377500,"avatar_url":"https://avatars.githubusercontent.com/u/22377500?v=3","gravatar_id":"","url":"https://api.github.com/users/restccnu","html_url":"https://github.com/restccnu","followers_url":"https://api.github.com/users/restccnu/followers","following_url":"https://api.github.com/users/restccnu/following{/other_user}","gists_url":"https://api.github.com/users/restccnu/gists{/gist_id}","starred_url":"https://api.github.com/users/restccnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restccnu/subscriptions","organizations_url":"https://api.github.com/users/restccnu/orgs","repos_url":"https://api.github.com/users/restccnu/repos","events_url":"https://api.github.com/users/restccnu/events{/privacy}","received_events_url":"https://api.github.com/users/restccnu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/restccnu/restccnu","description":"华师匣子restful api","fork":false,"url":"https://api.github.com/repos/restccnu/restccnu","forks_url":"https://api.github.com/repos/restccnu/restccnu/forks","keys_url":"https://api.github.com/repos/restccnu/restccnu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restccnu/restccnu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restccnu/restccnu/teams","hooks_url":"https://api.github.com/repos/restccnu/restccnu/hooks","issue_events_url":"https://api.github.com/repos/restccnu/restccnu/issues/events{/number}","events_url":"https://api.github.com/repos/restccnu/restccnu/events","assignees_url":"https://api.github.com/repos/restccnu/restccnu/assignees{/user}","branches_url":"https://api.github.com/repos/restccnu/restccnu/branches{/branch}","tags_url":"https://api.github.com/repos/restccnu/restccnu/tags","blobs_url":"https://api.github.com/repos/restccnu/restccnu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restccnu/restccnu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restccnu/restccnu/git/refs{/sha}","trees_url":"https://api.github.com/repos/restccnu/restccnu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restccnu/restccnu/statuses/{sha}","languages_url":"https://api.github.com/repos/restccnu/restccnu/languages","stargazers_url":"https://api.github.com/repos/restccnu/restccnu/stargazers","contributors_url":"https://api.github.com/repos/restccnu/restccnu/contributors","subscribers_url":"https://api.github.com/repos/restccnu/restccnu/subscribers","subscription_url":"https://api.github.com/repos/restccnu/restccnu/subscription","commits_url":"https://api.github.com/repos/restccnu/restccnu/commits{/sha}","git_commits_url":"https://api.github.com/repos/restccnu/restccnu/git/commits{/sha}","comments_url":"https://api.github.com/repos/restccnu/restccnu/comments{/number}","issue_comment_url":"https://api.github.com/repos/restccnu/restccnu/issues/comments{/number}","contents_url":"https://api.github.com/repos/restccnu/restccnu/contents/{+path}","compare_url":"https://api.github.com/repos/restccnu/restccnu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restccnu/restccnu/merges","archive_url":"https://api.github.com/repos/restccnu/restccnu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restccnu/restccnu/downloads","issues_url":"https://api.github.com/repos/restccnu/restccnu/issues{/number}","pulls_url":"https://api.github.com/repos/restccnu/restccnu/pulls{/number}","milestones_url":"https://api.github.com/repos/restccnu/restccnu/milestones{/number}","notifications_url":"https://api.github.com/repos/restccnu/restccnu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restccnu/restccnu/labels{/name}","releases_url":"https://api.github.com/repos/restccnu/restccnu/releases{/id}","deployments_url":"https://api.github.com/repos/restccnu/restccnu/deployments","created_at":"2016-06-18T16:15:22Z","updated_at":"2016-11-12T15:21:09Z","pushed_at":"2016-12-10T19:31:41Z","git_url":"git://github.com/restccnu/restccnu.git","ssh_url":"git@github.com:restccnu/restccnu.git","clone_url":"https://github.com/restccnu/restccnu.git","svn_url":"https://github.com/restccnu/restccnu","homepage":"https://ccnubox.muxixyz.com/api/","size":1512,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/restccnu/restccnu/pulls/80"},"html":{"href":"https://github.com/restccnu/restccnu/pull/80"},"issue":{"href":"https://api.github.com/repos/restccnu/restccnu/issues/80"},"comments":{"href":"https://api.github.com/repos/restccnu/restccnu/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/restccnu/restccnu/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/restccnu/restccnu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/restccnu/restccnu/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/restccnu/restccnu/statuses/92d818d96979b084b4827a5bb4d4e6dff8e9997a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"neo1218","id":10671733,"avatar_url":"https://avatars.githubusercontent.com/u/10671733?v=3","gravatar_id":"","url":"https://api.github.com/users/neo1218","html_url":"https://github.com/neo1218","followers_url":"https://api.github.com/users/neo1218/followers","following_url":"https://api.github.com/users/neo1218/following{/other_user}","gists_url":"https://api.github.com/users/neo1218/gists{/gist_id}","starred_url":"https://api.github.com/users/neo1218/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo1218/subscriptions","organizations_url":"https://api.github.com/users/neo1218/orgs","repos_url":"https://api.github.com/users/neo1218/repos","events_url":"https://api.github.com/users/neo1218/events{/privacy}","received_events_url":"https://api.github.com/users/neo1218/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":68,"deletions":18,"changed_files":5}}
{"actor":{"display_login":"neo1218"}}