{"action":"closed","number":418,"pull_request":{"url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/418","id":18631318,"html_url":"https://github.com/adaptlearning/adapt_authoring/pull/418","diff_url":"https://github.com/adaptlearning/adapt_authoring/pull/418.diff","patch_url":"https://github.com/adaptlearning/adapt_authoring/pull/418.patch","issue_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/418","number":418,"state":"closed","locked":false,"title":"Issues/417","user":{"login":"dennisheaney","id":1232256,"avatar_url":"https://avatars.githubusercontent.com/u/1232256?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisheaney","html_url":"https://github.com/dennisheaney","followers_url":"https://api.github.com/users/dennisheaney/followers","following_url":"https://api.github.com/users/dennisheaney/following{/other_user}","gists_url":"https://api.github.com/users/dennisheaney/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisheaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisheaney/subscriptions","organizations_url":"https://api.github.com/users/dennisheaney/orgs","repos_url":"https://api.github.com/users/dennisheaney/repos","events_url":"https://api.github.com/users/dennisheaney/events{/privacy}","received_events_url":"https://api.github.com/users/dennisheaney/received_events","type":"User","site_admin":false},"body":"This branch is not really intended for merging into the develop branch. Instead, this branch includes changes that allow the authoring tool to be easily deployed as an heroku app. \r\n\r\nThe main roadblock for this is the ability to run `grunt` on an heroku node to build the frontend for the app. It may be possible to use `grunt` by using a grunt focused buildpack (https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt), I felt that this might be introducing a dependency we should try to do without. This branch works around the issue by including the frontend/build directory in the git repository.\r\n\r\nI'd like to discuss and perhaps change some of the decisions we made earlier on about our dependency on `grunt`, as well as assumptions about how we want to deploy the authoring tool.\r\n\r\nTo deploy this as an heroku app:\r\n\r\n````\r\n$ heroku create\r\n$ git push heroku issues/417:master\r\n````\r\n\r\nI used the mongohq add on:\r\n\r\n````\r\n$ heroku addons:add mongohq:sandbox\r\n````\r\n\r\nVisit your app via the url and take note of the following details during the install process:\r\n\r\n - on the \"Configure Server\" page, the hostname should be the hostname of the heroku app, and the port for an heroku app should be \"80\". When installing the tool locally, the hostname will usually be localhost, and whichever port the app is listening on.\r\n - on the \"Configure Database\" page, be sure to set the host, port, username and password correctly for your mongo server. MongoHQ provides the full uri in the format `mongodb://<user>:<password>@<database host>:<port>/<database name>`\r\n - on the \"Configure Default Tenant\" page, the name for the master tenant should be set the name of the database provided by your mongodb addon - that's the name after the final '/' in the MongoHQ uri.","created_at":"2014-07-20T16:50:55Z","updated_at":"2015-03-25T12:01:29Z","closed_at":"2015-03-25T12:01:29Z","merged_at":null,"merge_commit_sha":"f97eca9319dd0be5f78ff6210785233cba9891f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/418/commits","review_comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/418/comments","review_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/418/comments","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/e6393adb913eca166afd1987358119ddfd0d7e28","head":{"label":"adaptlearning:issues/417","ref":"issues/417","sha":"e6393adb913eca166afd1987358119ddfd0d7e28","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":13562581,"name":"adapt_authoring","full_name":"adaptlearning/adapt_authoring","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt_authoring","description":"Source code for the Adapt Authoring tool","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt_authoring","forks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/releases{/id}","created_at":"2013-10-14T13:52:24Z","updated_at":"2015-03-25T11:15:50Z","pushed_at":"2015-03-25T11:59:49Z","git_url":"git://github.com/adaptlearning/adapt_authoring.git","ssh_url":"git@github.com:adaptlearning/adapt_authoring.git","clone_url":"https://github.com/adaptlearning/adapt_authoring.git","svn_url":"https://github.com/adaptlearning/adapt_authoring","homepage":null,"size":42488,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":323,"forks":24,"open_issues":323,"watchers":25,"default_branch":"develop"}},"base":{"label":"adaptlearning:develop","ref":"develop","sha":"11a0aaa2641780dc9698201faf2ddcf2a4cca675","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":13562581,"name":"adapt_authoring","full_name":"adaptlearning/adapt_authoring","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt_authoring","description":"Source code for the Adapt Authoring tool","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt_authoring","forks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/releases{/id}","created_at":"2013-10-14T13:52:24Z","updated_at":"2015-03-25T11:15:50Z","pushed_at":"2015-03-25T11:59:49Z","git_url":"git://github.com/adaptlearning/adapt_authoring.git","ssh_url":"git@github.com:adaptlearning/adapt_authoring.git","clone_url":"https://github.com/adaptlearning/adapt_authoring.git","svn_url":"https://github.com/adaptlearning/adapt_authoring","homepage":null,"size":42488,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":323,"forks":24,"open_issues":323,"watchers":25,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/418"},"html":{"href":"https://github.com/adaptlearning/adapt_authoring/pull/418"},"issue":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/418"},"comments":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/418/comments"},"review_comments":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/418/comments"},"review_comment":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/418/commits"},"statuses":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/e6393adb913eca166afd1987358119ddfd0d7e28"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":7,"additions":31300,"deletions":58,"changed_files":122}}