{"action":"created","comment":{"url":"https://api.github.com/repos/oyiptong/splice/pulls/comments/44552287","id":44552287,"diff_hunk":"@@ -92,6 +95,18 @@ def deploy_cold():\n     set_symlinks()\n \n \n+def build_ui():\n+    with lcd('ui'):\n+        local('pwd')\n+        local('npm install')\n+        local('npm run-script bundle')\n+\n+    with lcd('front_end'):\n+        local('npm install')\n+        local('gulp build:dist')","path":"fabfile.py","position":25,"original_position":25,"commit_id":"beeb739f43f88921b8e794d5f67a2b798add3834","original_commit_id":"beeb739f43f88921b8e794d5f67a2b798add3834","user":{"login":"rlr","id":36629,"avatar_url":"https://avatars.githubusercontent.com/u/36629?v=3","gravatar_id":"","url":"https://api.github.com/users/rlr","html_url":"https://github.com/rlr","followers_url":"https://api.github.com/users/rlr/followers","following_url":"https://api.github.com/users/rlr/following{/other_user}","gists_url":"https://api.github.com/users/rlr/gists{/gist_id}","starred_url":"https://api.github.com/users/rlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlr/subscriptions","organizations_url":"https://api.github.com/users/rlr/orgs","repos_url":"https://api.github.com/users/rlr/repos","events_url":"https://api.github.com/users/rlr/events{/privacy}","received_events_url":"https://api.github.com/users/rlr/received_events","type":"User","site_admin":false},"body":"That's how TBG has set up the new app. We can change it later. I'd like to remove the gulp dependency.","created_at":"2015-11-11T16:29:24Z","updated_at":"2015-11-11T16:29:24Z","html_url":"https://github.com/oyiptong/splice/pull/211#discussion_r44552287","pull_request_url":"https://api.github.com/repos/oyiptong/splice/pulls/211","_links":{"self":{"href":"https://api.github.com/repos/oyiptong/splice/pulls/comments/44552287"},"html":{"href":"https://github.com/oyiptong/splice/pull/211#discussion_r44552287"},"pull_request":{"href":"https://api.github.com/repos/oyiptong/splice/pulls/211"}}},"pull_request":{"url":"https://api.github.com/repos/oyiptong/splice/pulls/211","id":50309950,"html_url":"https://github.com/oyiptong/splice/pull/211","diff_url":"https://github.com/oyiptong/splice/pull/211.diff","patch_url":"https://github.com/oyiptong/splice/pull/211.patch","issue_url":"https://api.github.com/repos/oyiptong/splice/issues/211","number":211,"state":"open","locked":false,"title":"Landing page and fabric script to build redux apps","user":{"login":"rlr","id":36629,"avatar_url":"https://avatars.githubusercontent.com/u/36629?v=3","gravatar_id":"","url":"https://api.github.com/users/rlr","html_url":"https://github.com/rlr","followers_url":"https://api.github.com/users/rlr/followers","following_url":"https://api.github.com/users/rlr/following{/other_user}","gists_url":"https://api.github.com/users/rlr/gists{/gist_id}","starred_url":"https://api.github.com/users/rlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlr/subscriptions","organizations_url":"https://api.github.com/users/rlr/orgs","repos_url":"https://api.github.com/users/rlr/repos","events_url":"https://api.github.com/users/rlr/events{/privacy}","received_events_url":"https://api.github.com/users/rlr/received_events","type":"User","site_admin":false},"body":"Fixes issue #173 and issue #174.\r\n\r\nTo try it out (npm and gulp are required):\r\n\r\n    $ fab build_ui\r\n    $ manage.py runserver\r\n    $ open http://localhost:5000/\r\n\r\nFor the new splice ui (campaign manager), there is a problem with background images. They are specified in SASS as absolute paths like `/public/img/filename.jpg` and we are serving them from `/static/build/....`. That's an outstanding issue I'll need to figure out with @tkiethanom. But this gets us closer.\r\n\r\nr? @ncloudioj @tspurway ","created_at":"2015-11-10T20:57:40Z","updated_at":"2015-11-11T16:29:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b69d15b13355b2aa8e18f1c6a9370c94bd090395","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oyiptong/splice/pulls/211/commits","review_comments_url":"https://api.github.com/repos/oyiptong/splice/pulls/211/comments","review_comment_url":"https://api.github.com/repos/oyiptong/splice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oyiptong/splice/issues/211/comments","statuses_url":"https://api.github.com/repos/oyiptong/splice/statuses/beeb739f43f88921b8e794d5f67a2b798add3834","head":{"label":"rlr:deploy-frontend-ui","ref":"deploy-frontend-ui","sha":"beeb739f43f88921b8e794d5f67a2b798add3834","user":{"login":"rlr","id":36629,"avatar_url":"https://avatars.githubusercontent.com/u/36629?v=3","gravatar_id":"","url":"https://api.github.com/users/rlr","html_url":"https://github.com/rlr","followers_url":"https://api.github.com/users/rlr/followers","following_url":"https://api.github.com/users/rlr/following{/other_user}","gists_url":"https://api.github.com/users/rlr/gists{/gist_id}","starred_url":"https://api.github.com/users/rlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlr/subscriptions","organizations_url":"https://api.github.com/users/rlr/orgs","repos_url":"https://api.github.com/users/rlr/repos","events_url":"https://api.github.com/users/rlr/events{/privacy}","received_events_url":"https://api.github.com/users/rlr/received_events","type":"User","site_admin":false},"repo":{"id":40007576,"name":"splice","full_name":"rlr/splice","owner":{"login":"rlr","id":36629,"avatar_url":"https://avatars.githubusercontent.com/u/36629?v=3","gravatar_id":"","url":"https://api.github.com/users/rlr","html_url":"https://github.com/rlr","followers_url":"https://api.github.com/users/rlr/followers","following_url":"https://api.github.com/users/rlr/following{/other_user}","gists_url":"https://api.github.com/users/rlr/gists{/gist_id}","starred_url":"https://api.github.com/users/rlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlr/subscriptions","organizations_url":"https://api.github.com/users/rlr/orgs","repos_url":"https://api.github.com/users/rlr/repos","events_url":"https://api.github.com/users/rlr/events{/privacy}","received_events_url":"https://api.github.com/users/rlr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rlr/splice","description":"Firefox Tiles Ingestion, Validation and Reporting tool","fork":true,"url":"https://api.github.com/repos/rlr/splice","forks_url":"https://api.github.com/repos/rlr/splice/forks","keys_url":"https://api.github.com/repos/rlr/splice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rlr/splice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rlr/splice/teams","hooks_url":"https://api.github.com/repos/rlr/splice/hooks","issue_events_url":"https://api.github.com/repos/rlr/splice/issues/events{/number}","events_url":"https://api.github.com/repos/rlr/splice/events","assignees_url":"https://api.github.com/repos/rlr/splice/assignees{/user}","branches_url":"https://api.github.com/repos/rlr/splice/branches{/branch}","tags_url":"https://api.github.com/repos/rlr/splice/tags","blobs_url":"https://api.github.com/repos/rlr/splice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rlr/splice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rlr/splice/git/refs{/sha}","trees_url":"https://api.github.com/repos/rlr/splice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rlr/splice/statuses/{sha}","languages_url":"https://api.github.com/repos/rlr/splice/languages","stargazers_url":"https://api.github.com/repos/rlr/splice/stargazers","contributors_url":"https://api.github.com/repos/rlr/splice/contributors","subscribers_url":"https://api.github.com/repos/rlr/splice/subscribers","subscription_url":"https://api.github.com/repos/rlr/splice/subscription","commits_url":"https://api.github.com/repos/rlr/splice/commits{/sha}","git_commits_url":"https://api.github.com/repos/rlr/splice/git/commits{/sha}","comments_url":"https://api.github.com/repos/rlr/splice/comments{/number}","issue_comment_url":"https://api.github.com/repos/rlr/splice/issues/comments{/number}","contents_url":"https://api.github.com/repos/rlr/splice/contents/{+path}","compare_url":"https://api.github.com/repos/rlr/splice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rlr/splice/merges","archive_url":"https://api.github.com/repos/rlr/splice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rlr/splice/downloads","issues_url":"https://api.github.com/repos/rlr/splice/issues{/number}","pulls_url":"https://api.github.com/repos/rlr/splice/pulls{/number}","milestones_url":"https://api.github.com/repos/rlr/splice/milestones{/number}","notifications_url":"https://api.github.com/repos/rlr/splice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rlr/splice/labels{/name}","releases_url":"https://api.github.com/repos/rlr/splice/releases{/id}","created_at":"2015-07-31T13:53:14Z","updated_at":"2015-07-31T13:53:15Z","pushed_at":"2015-11-11T15:42:06Z","git_url":"git://github.com/rlr/splice.git","ssh_url":"git@github.com:rlr/splice.git","clone_url":"https://github.com/rlr/splice.git","svn_url":"https://github.com/rlr/splice","homepage":"","size":30663,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oyiptong:sp2","ref":"sp2","sha":"33aedb8c0bb7f3b756d163f0147b947e6fe19198","user":{"login":"oyiptong","id":9365,"avatar_url":"https://avatars.githubusercontent.com/u/9365?v=3","gravatar_id":"","url":"https://api.github.com/users/oyiptong","html_url":"https://github.com/oyiptong","followers_url":"https://api.github.com/users/oyiptong/followers","following_url":"https://api.github.com/users/oyiptong/following{/other_user}","gists_url":"https://api.github.com/users/oyiptong/gists{/gist_id}","starred_url":"https://api.github.com/users/oyiptong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyiptong/subscriptions","organizations_url":"https://api.github.com/users/oyiptong/orgs","repos_url":"https://api.github.com/users/oyiptong/repos","events_url":"https://api.github.com/users/oyiptong/events{/privacy}","received_events_url":"https://api.github.com/users/oyiptong/received_events","type":"User","site_admin":false},"repo":{"id":22929675,"name":"splice","full_name":"oyiptong/splice","owner":{"login":"oyiptong","id":9365,"avatar_url":"https://avatars.githubusercontent.com/u/9365?v=3","gravatar_id":"","url":"https://api.github.com/users/oyiptong","html_url":"https://github.com/oyiptong","followers_url":"https://api.github.com/users/oyiptong/followers","following_url":"https://api.github.com/users/oyiptong/following{/other_user}","gists_url":"https://api.github.com/users/oyiptong/gists{/gist_id}","starred_url":"https://api.github.com/users/oyiptong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyiptong/subscriptions","organizations_url":"https://api.github.com/users/oyiptong/orgs","repos_url":"https://api.github.com/users/oyiptong/repos","events_url":"https://api.github.com/users/oyiptong/events{/privacy}","received_events_url":"https://api.github.com/users/oyiptong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oyiptong/splice","description":"Firefox Tiles Ingestion, Validation and Reporting tool","fork":false,"url":"https://api.github.com/repos/oyiptong/splice","forks_url":"https://api.github.com/repos/oyiptong/splice/forks","keys_url":"https://api.github.com/repos/oyiptong/splice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oyiptong/splice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oyiptong/splice/teams","hooks_url":"https://api.github.com/repos/oyiptong/splice/hooks","issue_events_url":"https://api.github.com/repos/oyiptong/splice/issues/events{/number}","events_url":"https://api.github.com/repos/oyiptong/splice/events","assignees_url":"https://api.github.com/repos/oyiptong/splice/assignees{/user}","branches_url":"https://api.github.com/repos/oyiptong/splice/branches{/branch}","tags_url":"https://api.github.com/repos/oyiptong/splice/tags","blobs_url":"https://api.github.com/repos/oyiptong/splice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oyiptong/splice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oyiptong/splice/git/refs{/sha}","trees_url":"https://api.github.com/repos/oyiptong/splice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oyiptong/splice/statuses/{sha}","languages_url":"https://api.github.com/repos/oyiptong/splice/languages","stargazers_url":"https://api.github.com/repos/oyiptong/splice/stargazers","contributors_url":"https://api.github.com/repos/oyiptong/splice/contributors","subscribers_url":"https://api.github.com/repos/oyiptong/splice/subscribers","subscription_url":"https://api.github.com/repos/oyiptong/splice/subscription","commits_url":"https://api.github.com/repos/oyiptong/splice/commits{/sha}","git_commits_url":"https://api.github.com/repos/oyiptong/splice/git/commits{/sha}","comments_url":"https://api.github.com/repos/oyiptong/splice/comments{/number}","issue_comment_url":"https://api.github.com/repos/oyiptong/splice/issues/comments{/number}","contents_url":"https://api.github.com/repos/oyiptong/splice/contents/{+path}","compare_url":"https://api.github.com/repos/oyiptong/splice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oyiptong/splice/merges","archive_url":"https://api.github.com/repos/oyiptong/splice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oyiptong/splice/downloads","issues_url":"https://api.github.com/repos/oyiptong/splice/issues{/number}","pulls_url":"https://api.github.com/repos/oyiptong/splice/pulls{/number}","milestones_url":"https://api.github.com/repos/oyiptong/splice/milestones{/number}","notifications_url":"https://api.github.com/repos/oyiptong/splice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oyiptong/splice/labels{/name}","releases_url":"https://api.github.com/repos/oyiptong/splice/releases{/id}","created_at":"2014-08-13T20:10:36Z","updated_at":"2015-11-11T15:32:25Z","pushed_at":"2015-11-11T16:29:21Z","git_url":"git://github.com/oyiptong/splice.git","ssh_url":"git@github.com:oyiptong/splice.git","clone_url":"https://github.com/oyiptong/splice.git","svn_url":"https://github.com/oyiptong/splice","homepage":"","size":33265,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":34,"forks":10,"open_issues":34,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oyiptong/splice/pulls/211"},"html":{"href":"https://github.com/oyiptong/splice/pull/211"},"issue":{"href":"https://api.github.com/repos/oyiptong/splice/issues/211"},"comments":{"href":"https://api.github.com/repos/oyiptong/splice/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/oyiptong/splice/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/oyiptong/splice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oyiptong/splice/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/oyiptong/splice/statuses/beeb739f43f88921b8e794d5f67a2b798add3834"}}}}