{"action":"created","comment":{"url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/comments/74696172","id":74696172,"diff_hunk":"@@ -20,11 +20,46 @@\n     $ vagrant ssh\n     $ cd ~/vagrant\n     $ redis-server &\n-    $ python3 app.wsgi\n+    $ python app.py\n     ```\n \n 4.  access <http://127.0.0.1:3000/>\n \n+## How to run on GAE local dev server (work in progress, as we did not migrate to GAE yet)\n+\n+GAE doesn't support Redis. So you need to use Memcache instead.\n+\n+1.  setup\n+\n+  - Install [GAE Python SDK](https://cloud.google.com/appengine/downloads)\n+    \n+\n+2.  In app.py, change from Redis to Memcache\n+\n+   Change from this:\n+   \n+   ```\n+   cache = cache.Redis(**cfg.section('REDIS_INFO'))\n+   #cache = cache.Memcache(**cfg.section('MEMCACHE'))\n+   ```\n+   to below:\n+\n+   ```\n+   #cache = cache.Redis(**cfg.section('REDIS_INFO'))\n+   cache = cache.Memcache(**cfg.section('MEMCACHE'))\n+   ```\n+    ","path":"README.md","position":null,"original_position":33,"commit_id":"11d73ce1d759fe8e3e2e4ab1af9321112d7b7e6e","original_commit_id":"f9766d2b029ea717362ee43d11922f67926d2676","user":{"login":"richard-imaoka","id":7414320,"avatar_url":"https://avatars.githubusercontent.com/u/7414320?v=3","gravatar_id":"","url":"https://api.github.com/users/richard-imaoka","html_url":"https://github.com/richard-imaoka","followers_url":"https://api.github.com/users/richard-imaoka/followers","following_url":"https://api.github.com/users/richard-imaoka/following{/other_user}","gists_url":"https://api.github.com/users/richard-imaoka/gists{/gist_id}","starred_url":"https://api.github.com/users/richard-imaoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richard-imaoka/subscriptions","organizations_url":"https://api.github.com/users/richard-imaoka/orgs","repos_url":"https://api.github.com/users/richard-imaoka/repos","events_url":"https://api.github.com/users/richard-imaoka/events{/privacy}","received_events_url":"https://api.github.com/users/richard-imaoka/received_events","type":"User","site_admin":false},"body":"config.json に\r\n\r\n- `\"REDIS_INFO\"`か`\"MEMCACHE\"`どちらかを必ず指定しなくてはいけない\r\n\r\n- どちら「も」指定するとException\r\n\r\n- どちら「もない」と、当然Exception\r\n\r\nというようにapp.pyを書き換えました。これでどうでしょう？\r\n","created_at":"2016-08-14T05:32:20Z","updated_at":"2016-08-14T05:32:20Z","html_url":"https://github.com/builderscon/conf.builderscon.io/pull/74#discussion_r74696172","pull_request_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/comments/74696172"},"html":{"href":"https://github.com/builderscon/conf.builderscon.io/pull/74#discussion_r74696172"},"pull_request":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74","id":81229525,"html_url":"https://github.com/builderscon/conf.builderscon.io/pull/74","diff_url":"https://github.com/builderscon/conf.builderscon.io/pull/74.diff","patch_url":"https://github.com/builderscon/conf.builderscon.io/pull/74.patch","issue_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/74","number":74,"state":"open","locked":false,"title":"memcache for GAE migration, which is work in progress","user":{"login":"richard-imaoka","id":7414320,"avatar_url":"https://avatars.githubusercontent.com/u/7414320?v=3","gravatar_id":"","url":"https://api.github.com/users/richard-imaoka","html_url":"https://github.com/richard-imaoka","followers_url":"https://api.github.com/users/richard-imaoka/followers","following_url":"https://api.github.com/users/richard-imaoka/following{/other_user}","gists_url":"https://api.github.com/users/richard-imaoka/gists{/gist_id}","starred_url":"https://api.github.com/users/richard-imaoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richard-imaoka/subscriptions","organizations_url":"https://api.github.com/users/richard-imaoka/orgs","repos_url":"https://api.github.com/users/richard-imaoka/repos","events_url":"https://api.github.com/users/richard-imaoka/events{/privacy}","received_events_url":"https://api.github.com/users/richard-imaoka/received_events","type":"User","site_admin":false},"body":"Refs #37 現状の動作には影響のない変更になっているはずです。\r\n\r\nmemcacheの動作はローカルのvagarnt, GAE local serverで確認しました。","created_at":"2016-08-13T23:25:33Z","updated_at":"2016-08-14T05:32:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21940d203a1dbba2e9a971274b9c6dd9e341ce7c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74/commits","review_comments_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74/comments","review_comment_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/74/comments","statuses_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/statuses/11d73ce1d759fe8e3e2e4ab1af9321112d7b7e6e","head":{"label":"builderscon:richard-gae-poc","ref":"richard-gae-poc","sha":"11d73ce1d759fe8e3e2e4ab1af9321112d7b7e6e","user":{"login":"builderscon","id":16756101,"avatar_url":"https://avatars.githubusercontent.com/u/16756101?v=3","gravatar_id":"","url":"https://api.github.com/users/builderscon","html_url":"https://github.com/builderscon","followers_url":"https://api.github.com/users/builderscon/followers","following_url":"https://api.github.com/users/builderscon/following{/other_user}","gists_url":"https://api.github.com/users/builderscon/gists{/gist_id}","starred_url":"https://api.github.com/users/builderscon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/builderscon/subscriptions","organizations_url":"https://api.github.com/users/builderscon/orgs","repos_url":"https://api.github.com/users/builderscon/repos","events_url":"https://api.github.com/users/builderscon/events{/privacy}","received_events_url":"https://api.github.com/users/builderscon/received_events","type":"Organization","site_admin":false},"repo":{"id":61031781,"name":"conf.builderscon.io","full_name":"builderscon/conf.builderscon.io","owner":{"login":"builderscon","id":16756101,"avatar_url":"https://avatars.githubusercontent.com/u/16756101?v=3","gravatar_id":"","url":"https://api.github.com/users/builderscon","html_url":"https://github.com/builderscon","followers_url":"https://api.github.com/users/builderscon/followers","following_url":"https://api.github.com/users/builderscon/following{/other_user}","gists_url":"https://api.github.com/users/builderscon/gists{/gist_id}","starred_url":"https://api.github.com/users/builderscon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/builderscon/subscriptions","organizations_url":"https://api.github.com/users/builderscon/orgs","repos_url":"https://api.github.com/users/builderscon/repos","events_url":"https://api.github.com/users/builderscon/events{/privacy}","received_events_url":"https://api.github.com/users/builderscon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/builderscon/conf.builderscon.io","description":"","fork":false,"url":"https://api.github.com/repos/builderscon/conf.builderscon.io","forks_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/forks","keys_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/teams","hooks_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/hooks","issue_events_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/events{/number}","events_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/events","assignees_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/assignees{/user}","branches_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/branches{/branch}","tags_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/tags","blobs_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/statuses/{sha}","languages_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/languages","stargazers_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/stargazers","contributors_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/contributors","subscribers_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/subscribers","subscription_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/subscription","commits_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/contents/{+path}","compare_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/merges","archive_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/downloads","issues_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues{/number}","pulls_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls{/number}","milestones_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/milestones{/number}","notifications_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/labels{/name}","releases_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/releases{/id}","deployments_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/deployments","created_at":"2016-06-13T11:43:15Z","updated_at":"2016-06-19T17:00:26Z","pushed_at":"2016-08-14T05:23:08Z","git_url":"git://github.com/builderscon/conf.builderscon.io.git","ssh_url":"git@github.com:builderscon/conf.builderscon.io.git","clone_url":"https://github.com/builderscon/conf.builderscon.io.git","svn_url":"https://github.com/builderscon/conf.builderscon.io","homepage":null,"size":3142,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"builderscon:master","ref":"master","sha":"d5b0d4704f8561ea9a39ddb8612ef0f5aeda6459","user":{"login":"builderscon","id":16756101,"avatar_url":"https://avatars.githubusercontent.com/u/16756101?v=3","gravatar_id":"","url":"https://api.github.com/users/builderscon","html_url":"https://github.com/builderscon","followers_url":"https://api.github.com/users/builderscon/followers","following_url":"https://api.github.com/users/builderscon/following{/other_user}","gists_url":"https://api.github.com/users/builderscon/gists{/gist_id}","starred_url":"https://api.github.com/users/builderscon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/builderscon/subscriptions","organizations_url":"https://api.github.com/users/builderscon/orgs","repos_url":"https://api.github.com/users/builderscon/repos","events_url":"https://api.github.com/users/builderscon/events{/privacy}","received_events_url":"https://api.github.com/users/builderscon/received_events","type":"Organization","site_admin":false},"repo":{"id":61031781,"name":"conf.builderscon.io","full_name":"builderscon/conf.builderscon.io","owner":{"login":"builderscon","id":16756101,"avatar_url":"https://avatars.githubusercontent.com/u/16756101?v=3","gravatar_id":"","url":"https://api.github.com/users/builderscon","html_url":"https://github.com/builderscon","followers_url":"https://api.github.com/users/builderscon/followers","following_url":"https://api.github.com/users/builderscon/following{/other_user}","gists_url":"https://api.github.com/users/builderscon/gists{/gist_id}","starred_url":"https://api.github.com/users/builderscon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/builderscon/subscriptions","organizations_url":"https://api.github.com/users/builderscon/orgs","repos_url":"https://api.github.com/users/builderscon/repos","events_url":"https://api.github.com/users/builderscon/events{/privacy}","received_events_url":"https://api.github.com/users/builderscon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/builderscon/conf.builderscon.io","description":"","fork":false,"url":"https://api.github.com/repos/builderscon/conf.builderscon.io","forks_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/forks","keys_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/teams","hooks_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/hooks","issue_events_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/events{/number}","events_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/events","assignees_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/assignees{/user}","branches_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/branches{/branch}","tags_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/tags","blobs_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/statuses/{sha}","languages_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/languages","stargazers_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/stargazers","contributors_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/contributors","subscribers_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/subscribers","subscription_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/subscription","commits_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/contents/{+path}","compare_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/merges","archive_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/downloads","issues_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues{/number}","pulls_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls{/number}","milestones_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/milestones{/number}","notifications_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/labels{/name}","releases_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/releases{/id}","deployments_url":"https://api.github.com/repos/builderscon/conf.builderscon.io/deployments","created_at":"2016-06-13T11:43:15Z","updated_at":"2016-06-19T17:00:26Z","pushed_at":"2016-08-14T05:23:08Z","git_url":"git://github.com/builderscon/conf.builderscon.io.git","ssh_url":"git@github.com:builderscon/conf.builderscon.io.git","clone_url":"https://github.com/builderscon/conf.builderscon.io.git","svn_url":"https://github.com/builderscon/conf.builderscon.io","homepage":null,"size":3142,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74"},"html":{"href":"https://github.com/builderscon/conf.builderscon.io/pull/74"},"issue":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/74"},"comments":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/builderscon/conf.builderscon.io/statuses/11d73ce1d759fe8e3e2e4ab1af9321112d7b7e6e"}}}}
{"actor":{"display_login":"richard-imaoka"}}