{"action":"created","comment":{"url":"https://api.github.com/repos/M0nica/flask_weather/pulls/comments/224993283","pull_request_review_id":164499231,"id":224993283,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDk5MzI4Mw==","diff_hunk":"@@ -8,16 +8,21 @@ _Example screenshot of flask_weather application_\n \n ## Setup\n \n-- Install dependencies\n+- Install dependencies (for the React application you will need NodeJS and yarn)\n - `pip install -r requirements.txt`\n+- `yarn install`\n - Add environment variables\n   - `weather_key=\"###############\";`. The weather_key is the API key received from registering at https://darksky.net/dev.\n   - add `secret_key=\"********\"`. It should be a random string that is hard to guess.\n+- Build React app\n+  - `yarn build`","path":"README.md","position":12,"original_position":12,"commit_id":"e9b7e1526ced208049013d10dc9487470764990c","original_commit_id":"e9b7e1526ced208049013d10dc9487470764990c","user":{"login":"M0nica","id":6998954,"node_id":"MDQ6VXNlcjY5OTg5NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6998954?v=4","gravatar_id":"","url":"https://api.github.com/users/M0nica","html_url":"https://github.com/M0nica","followers_url":"https://api.github.com/users/M0nica/followers","following_url":"https://api.github.com/users/M0nica/following{/other_user}","gists_url":"https://api.github.com/users/M0nica/gists{/gist_id}","starred_url":"https://api.github.com/users/M0nica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M0nica/subscriptions","organizations_url":"https://api.github.com/users/M0nica/orgs","repos_url":"https://api.github.com/users/M0nica/repos","events_url":"https://api.github.com/users/M0nica/events{/privacy}","received_events_url":"https://api.github.com/users/M0nica/received_events","type":"User","site_admin":false},"body":"Can this be combined to `yarn build && python app.py`? ","created_at":"2018-10-14T13:44:24Z","updated_at":"2018-10-14T13:49:34Z","html_url":"https://github.com/M0nica/flask_weather/pull/49#discussion_r224993283","pull_request_url":"https://api.github.com/repos/M0nica/flask_weather/pulls/49","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/M0nica/flask_weather/pulls/comments/224993283"},"html":{"href":"https://github.com/M0nica/flask_weather/pull/49#discussion_r224993283"},"pull_request":{"href":"https://api.github.com/repos/M0nica/flask_weather/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/M0nica/flask_weather/pulls/49","id":222697098,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjk3MDk4","html_url":"https://github.com/M0nica/flask_weather/pull/49","diff_url":"https://github.com/M0nica/flask_weather/pull/49.diff","patch_url":"https://github.com/M0nica/flask_weather/pull/49.patch","issue_url":"https://api.github.com/repos/M0nica/flask_weather/issues/49","number":49,"state":"open","locked":false,"title":"Migrate front end to React","user":{"login":"nickisaacs","id":2580911,"node_id":"MDQ6VXNlcjI1ODA5MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2580911?v=4","gravatar_id":"","url":"https://api.github.com/users/nickisaacs","html_url":"https://github.com/nickisaacs","followers_url":"https://api.github.com/users/nickisaacs/followers","following_url":"https://api.github.com/users/nickisaacs/following{/other_user}","gists_url":"https://api.github.com/users/nickisaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/nickisaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickisaacs/subscriptions","organizations_url":"https://api.github.com/users/nickisaacs/orgs","repos_url":"https://api.github.com/users/nickisaacs/repos","events_url":"https://api.github.com/users/nickisaacs/events{/privacy}","received_events_url":"https://api.github.com/users/nickisaacs/received_events","type":"User","site_admin":false},"body":"Done! After running yarn build, the React app can be served from within python!","created_at":"2018-10-14T06:53:59Z","updated_at":"2018-10-14T13:49:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"945304cafb11ef5b692fd756b00dbcfea06612f9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/M0nica/flask_weather/pulls/49/commits","review_comments_url":"https://api.github.com/repos/M0nica/flask_weather/pulls/49/comments","review_comment_url":"https://api.github.com/repos/M0nica/flask_weather/pulls/comments{/number}","comments_url":"https://api.github.com/repos/M0nica/flask_weather/issues/49/comments","statuses_url":"https://api.github.com/repos/M0nica/flask_weather/statuses/e9b7e1526ced208049013d10dc9487470764990c","head":{"label":"nickisaacs:migrate-to-react","ref":"migrate-to-react","sha":"e9b7e1526ced208049013d10dc9487470764990c","user":{"login":"nickisaacs","id":2580911,"node_id":"MDQ6VXNlcjI1ODA5MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2580911?v=4","gravatar_id":"","url":"https://api.github.com/users/nickisaacs","html_url":"https://github.com/nickisaacs","followers_url":"https://api.github.com/users/nickisaacs/followers","following_url":"https://api.github.com/users/nickisaacs/following{/other_user}","gists_url":"https://api.github.com/users/nickisaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/nickisaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickisaacs/subscriptions","organizations_url":"https://api.github.com/users/nickisaacs/orgs","repos_url":"https://api.github.com/users/nickisaacs/repos","events_url":"https://api.github.com/users/nickisaacs/events{/privacy}","received_events_url":"https://api.github.com/users/nickisaacs/received_events","type":"User","site_admin":false},"repo":{"id":152897677,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4OTc2Nzc=","name":"flask_weather","full_name":"nickisaacs/flask_weather","private":false,"owner":{"login":"nickisaacs","id":2580911,"node_id":"MDQ6VXNlcjI1ODA5MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2580911?v=4","gravatar_id":"","url":"https://api.github.com/users/nickisaacs","html_url":"https://github.com/nickisaacs","followers_url":"https://api.github.com/users/nickisaacs/followers","following_url":"https://api.github.com/users/nickisaacs/following{/other_user}","gists_url":"https://api.github.com/users/nickisaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/nickisaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickisaacs/subscriptions","organizations_url":"https://api.github.com/users/nickisaacs/orgs","repos_url":"https://api.github.com/users/nickisaacs/repos","events_url":"https://api.github.com/users/nickisaacs/events{/privacy}","received_events_url":"https://api.github.com/users/nickisaacs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nickisaacs/flask_weather","description":"☀️  ☔️ Flask app to auto-detect local weather based off of user's IP address.","fork":true,"url":"https://api.github.com/repos/nickisaacs/flask_weather","forks_url":"https://api.github.com/repos/nickisaacs/flask_weather/forks","keys_url":"https://api.github.com/repos/nickisaacs/flask_weather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickisaacs/flask_weather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickisaacs/flask_weather/teams","hooks_url":"https://api.github.com/repos/nickisaacs/flask_weather/hooks","issue_events_url":"https://api.github.com/repos/nickisaacs/flask_weather/issues/events{/number}","events_url":"https://api.github.com/repos/nickisaacs/flask_weather/events","assignees_url":"https://api.github.com/repos/nickisaacs/flask_weather/assignees{/user}","branches_url":"https://api.github.com/repos/nickisaacs/flask_weather/branches{/branch}","tags_url":"https://api.github.com/repos/nickisaacs/flask_weather/tags","blobs_url":"https://api.github.com/repos/nickisaacs/flask_weather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickisaacs/flask_weather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickisaacs/flask_weather/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickisaacs/flask_weather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickisaacs/flask_weather/statuses/{sha}","languages_url":"https://api.github.com/repos/nickisaacs/flask_weather/languages","stargazers_url":"https://api.github.com/repos/nickisaacs/flask_weather/stargazers","contributors_url":"https://api.github.com/repos/nickisaacs/flask_weather/contributors","subscribers_url":"https://api.github.com/repos/nickisaacs/flask_weather/subscribers","subscription_url":"https://api.github.com/repos/nickisaacs/flask_weather/subscription","commits_url":"https://api.github.com/repos/nickisaacs/flask_weather/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickisaacs/flask_weather/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickisaacs/flask_weather/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickisaacs/flask_weather/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickisaacs/flask_weather/contents/{+path}","compare_url":"https://api.github.com/repos/nickisaacs/flask_weather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickisaacs/flask_weather/merges","archive_url":"https://api.github.com/repos/nickisaacs/flask_weather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickisaacs/flask_weather/downloads","issues_url":"https://api.github.com/repos/nickisaacs/flask_weather/issues{/number}","pulls_url":"https://api.github.com/repos/nickisaacs/flask_weather/pulls{/number}","milestones_url":"https://api.github.com/repos/nickisaacs/flask_weather/milestones{/number}","notifications_url":"https://api.github.com/repos/nickisaacs/flask_weather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickisaacs/flask_weather/labels{/name}","releases_url":"https://api.github.com/repos/nickisaacs/flask_weather/releases{/id}","deployments_url":"https://api.github.com/repos/nickisaacs/flask_weather/deployments","created_at":"2018-10-13T17:37:29Z","updated_at":"2018-10-14T06:58:13Z","pushed_at":"2018-10-14T07:01:16Z","git_url":"git://github.com/nickisaacs/flask_weather.git","ssh_url":"git@github.com:nickisaacs/flask_weather.git","clone_url":"https://github.com/nickisaacs/flask_weather.git","svn_url":"https://github.com/nickisaacs/flask_weather","homepage":"","size":586,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"M0nica:master","ref":"master","sha":"d6e4f48447f9ab7d993f0b433947023f59655e06","user":{"login":"M0nica","id":6998954,"node_id":"MDQ6VXNlcjY5OTg5NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6998954?v=4","gravatar_id":"","url":"https://api.github.com/users/M0nica","html_url":"https://github.com/M0nica","followers_url":"https://api.github.com/users/M0nica/followers","following_url":"https://api.github.com/users/M0nica/following{/other_user}","gists_url":"https://api.github.com/users/M0nica/gists{/gist_id}","starred_url":"https://api.github.com/users/M0nica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M0nica/subscriptions","organizations_url":"https://api.github.com/users/M0nica/orgs","repos_url":"https://api.github.com/users/M0nica/repos","events_url":"https://api.github.com/users/M0nica/events{/privacy}","received_events_url":"https://api.github.com/users/M0nica/received_events","type":"User","site_admin":false},"repo":{"id":81033307,"node_id":"MDEwOlJlcG9zaXRvcnk4MTAzMzMwNw==","name":"flask_weather","full_name":"M0nica/flask_weather","private":false,"owner":{"login":"M0nica","id":6998954,"node_id":"MDQ6VXNlcjY5OTg5NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6998954?v=4","gravatar_id":"","url":"https://api.github.com/users/M0nica","html_url":"https://github.com/M0nica","followers_url":"https://api.github.com/users/M0nica/followers","following_url":"https://api.github.com/users/M0nica/following{/other_user}","gists_url":"https://api.github.com/users/M0nica/gists{/gist_id}","starred_url":"https://api.github.com/users/M0nica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M0nica/subscriptions","organizations_url":"https://api.github.com/users/M0nica/orgs","repos_url":"https://api.github.com/users/M0nica/repos","events_url":"https://api.github.com/users/M0nica/events{/privacy}","received_events_url":"https://api.github.com/users/M0nica/received_events","type":"User","site_admin":false},"html_url":"https://github.com/M0nica/flask_weather","description":"☀️  ☔️ Flask app to auto-detect local weather based off of user's IP address.","fork":false,"url":"https://api.github.com/repos/M0nica/flask_weather","forks_url":"https://api.github.com/repos/M0nica/flask_weather/forks","keys_url":"https://api.github.com/repos/M0nica/flask_weather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/M0nica/flask_weather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/M0nica/flask_weather/teams","hooks_url":"https://api.github.com/repos/M0nica/flask_weather/hooks","issue_events_url":"https://api.github.com/repos/M0nica/flask_weather/issues/events{/number}","events_url":"https://api.github.com/repos/M0nica/flask_weather/events","assignees_url":"https://api.github.com/repos/M0nica/flask_weather/assignees{/user}","branches_url":"https://api.github.com/repos/M0nica/flask_weather/branches{/branch}","tags_url":"https://api.github.com/repos/M0nica/flask_weather/tags","blobs_url":"https://api.github.com/repos/M0nica/flask_weather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/M0nica/flask_weather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/M0nica/flask_weather/git/refs{/sha}","trees_url":"https://api.github.com/repos/M0nica/flask_weather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/M0nica/flask_weather/statuses/{sha}","languages_url":"https://api.github.com/repos/M0nica/flask_weather/languages","stargazers_url":"https://api.github.com/repos/M0nica/flask_weather/stargazers","contributors_url":"https://api.github.com/repos/M0nica/flask_weather/contributors","subscribers_url":"https://api.github.com/repos/M0nica/flask_weather/subscribers","subscription_url":"https://api.github.com/repos/M0nica/flask_weather/subscription","commits_url":"https://api.github.com/repos/M0nica/flask_weather/commits{/sha}","git_commits_url":"https://api.github.com/repos/M0nica/flask_weather/git/commits{/sha}","comments_url":"https://api.github.com/repos/M0nica/flask_weather/comments{/number}","issue_comment_url":"https://api.github.com/repos/M0nica/flask_weather/issues/comments{/number}","contents_url":"https://api.github.com/repos/M0nica/flask_weather/contents/{+path}","compare_url":"https://api.github.com/repos/M0nica/flask_weather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/M0nica/flask_weather/merges","archive_url":"https://api.github.com/repos/M0nica/flask_weather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/M0nica/flask_weather/downloads","issues_url":"https://api.github.com/repos/M0nica/flask_weather/issues{/number}","pulls_url":"https://api.github.com/repos/M0nica/flask_weather/pulls{/number}","milestones_url":"https://api.github.com/repos/M0nica/flask_weather/milestones{/number}","notifications_url":"https://api.github.com/repos/M0nica/flask_weather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/M0nica/flask_weather/labels{/name}","releases_url":"https://api.github.com/repos/M0nica/flask_weather/releases{/id}","deployments_url":"https://api.github.com/repos/M0nica/flask_weather/deployments","created_at":"2017-02-06T00:51:18Z","updated_at":"2018-10-14T02:52:45Z","pushed_at":"2018-10-14T11:16:52Z","git_url":"git://github.com/M0nica/flask_weather.git","ssh_url":"git@github.com:M0nica/flask_weather.git","clone_url":"https://github.com/M0nica/flask_weather.git","svn_url":"https://github.com/M0nica/flask_weather","homepage":"https://clima-weather.herokuapp.com/","size":423,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":20,"license":null,"forks":38,"open_issues":20,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/M0nica/flask_weather/pulls/49"},"html":{"href":"https://github.com/M0nica/flask_weather/pull/49"},"issue":{"href":"https://api.github.com/repos/M0nica/flask_weather/issues/49"},"comments":{"href":"https://api.github.com/repos/M0nica/flask_weather/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/M0nica/flask_weather/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/M0nica/flask_weather/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/M0nica/flask_weather/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/M0nica/flask_weather/statuses/e9b7e1526ced208049013d10dc9487470764990c"}},"author_association":"NONE"}}
{"actor":{"display_login":"M0nica"}}