{"action":"created","comment":{"url":"https://api.github.com/repos/proudcloud/awesome/pulls/comments/30637946","id":30637946,"diff_hunk":"@@ -0,0 +1,70 @@\n+# Heroku Deployment for Rails\n+####Pre-requisites:\n+- Existing Rails App\n+- Git & associated SSH Keys\n+```\n+# If app isn't associated with git yet\n+$ git init\n+$ git add .\n+$ git commit -m 'Sets initial commit'\n+```\n+```\n+# If no SSH Keys generated yet, run command below;\n+# Fill-in succeeding prompts as desired but leave out passphrase prompt as empty\n+$ ssh-keygen -t rsa\n+```\n+- Heroku Account. Sign up [here].\n+- Heroku Toolbelt\n+```\n+# OSX (via Homebrew)\n+$  brew install heroku-toolbelt\n+# Debian/Ubuntu\n+$ wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh\n+# Login\n+$ heroku login\n+```\n+\n+\n+####Setup:\n+Specify ruby version in your `Gemfile`. This is clearly ok unless you indicate a different version from that of your `.ruby-version` et al\n+```\n+source \"https://rubygems.org\"\n+ruby \"2.1.2\"\n+# ...\n+```\n+Set static asset serving at `config/application.rb`\n+```\n+config.serve_static_assets = true\n+```\n+Environment-specific configurations, like that from application.yml or anything that is accessed with `ENV[__]` are set via `heroku config:set`\n+```\n+$ heroku config:set PUSHER_APP_ID=324213412342 PUSHER_APP_SECRET=lkjh34k234234j2l3h\n+```\n+Set DB-related configurations differ depending on the DB you are using. If you're on `PostgreSQL`, a simple `heroku run rake db:migrate` will do.\n+\n+If you're using `mongoid`, I prefer [MongoLab] as a starting point\n+\n+Create Heroku app/instance\n+```\n+$ heroku apps:create my-very-own-project-such-wow\n+```\n+Push to Heroku\n+```\n+$ git push heroku master\n+```","path":"WORKFLOW-Heroku.md","position":54,"original_position":54,"commit_id":"4d5b36bca9947be83ef0a86432c6228246a87575","original_commit_id":"4d5b36bca9947be83ef0a86432c6228246a87575","user":{"login":"rstacruz","id":74385,"avatar_url":"https://avatars.githubusercontent.com/u/74385?v=3","gravatar_id":"","url":"https://api.github.com/users/rstacruz","html_url":"https://github.com/rstacruz","followers_url":"https://api.github.com/users/rstacruz/followers","following_url":"https://api.github.com/users/rstacruz/following{/other_user}","gists_url":"https://api.github.com/users/rstacruz/gists{/gist_id}","starred_url":"https://api.github.com/users/rstacruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstacruz/subscriptions","organizations_url":"https://api.github.com/users/rstacruz/orgs","repos_url":"https://api.github.com/users/rstacruz/repos","events_url":"https://api.github.com/users/rstacruz/events{/privacy}","received_events_url":"https://api.github.com/users/rstacruz/received_events","type":"User","site_admin":false},"body":"afaik you'll need to trigger database migrations manually too","created_at":"2015-05-19T19:38:14Z","updated_at":"2015-05-19T19:38:14Z","html_url":"https://github.com/proudcloud/awesome/pull/6#discussion_r30637946","pull_request_url":"https://api.github.com/repos/proudcloud/awesome/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/proudcloud/awesome/pulls/comments/30637946"},"html":{"href":"https://github.com/proudcloud/awesome/pull/6#discussion_r30637946"},"pull_request":{"href":"https://api.github.com/repos/proudcloud/awesome/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/proudcloud/awesome/pulls/6","id":35736314,"html_url":"https://github.com/proudcloud/awesome/pull/6","diff_url":"https://github.com/proudcloud/awesome/pull/6.diff","patch_url":"https://github.com/proudcloud/awesome/pull/6.patch","issue_url":"https://api.github.com/repos/proudcloud/awesome/issues/6","number":6,"state":"open","locked":false,"title":"Adds heroku deployment workflow for rails app only","user":{"login":"nbantatua","id":1018523,"avatar_url":"https://avatars.githubusercontent.com/u/1018523?v=3","gravatar_id":"","url":"https://api.github.com/users/nbantatua","html_url":"https://github.com/nbantatua","followers_url":"https://api.github.com/users/nbantatua/followers","following_url":"https://api.github.com/users/nbantatua/following{/other_user}","gists_url":"https://api.github.com/users/nbantatua/gists{/gist_id}","starred_url":"https://api.github.com/users/nbantatua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbantatua/subscriptions","organizations_url":"https://api.github.com/users/nbantatua/orgs","repos_url":"https://api.github.com/users/nbantatua/repos","events_url":"https://api.github.com/users/nbantatua/events{/privacy}","received_events_url":"https://api.github.com/users/nbantatua/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-19T14:31:32Z","updated_at":"2015-05-19T19:38:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5679f58b04ff725275ea9d0088f50d4f9fc5295","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/proudcloud/awesome/pulls/6/commits","review_comments_url":"https://api.github.com/repos/proudcloud/awesome/pulls/6/comments","review_comment_url":"https://api.github.com/repos/proudcloud/awesome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/proudcloud/awesome/issues/6/comments","statuses_url":"https://api.github.com/repos/proudcloud/awesome/statuses/4d5b36bca9947be83ef0a86432c6228246a87575","head":{"label":"proudcloud:workflow/heroku-deployment","ref":"workflow/heroku-deployment","sha":"4d5b36bca9947be83ef0a86432c6228246a87575","user":{"login":"proudcloud","id":319600,"avatar_url":"https://avatars.githubusercontent.com/u/319600?v=3","gravatar_id":"","url":"https://api.github.com/users/proudcloud","html_url":"https://github.com/proudcloud","followers_url":"https://api.github.com/users/proudcloud/followers","following_url":"https://api.github.com/users/proudcloud/following{/other_user}","gists_url":"https://api.github.com/users/proudcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/proudcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proudcloud/subscriptions","organizations_url":"https://api.github.com/users/proudcloud/orgs","repos_url":"https://api.github.com/users/proudcloud/repos","events_url":"https://api.github.com/users/proudcloud/events{/privacy}","received_events_url":"https://api.github.com/users/proudcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":35533626,"name":"awesome","full_name":"proudcloud/awesome","owner":{"login":"proudcloud","id":319600,"avatar_url":"https://avatars.githubusercontent.com/u/319600?v=3","gravatar_id":"","url":"https://api.github.com/users/proudcloud","html_url":"https://github.com/proudcloud","followers_url":"https://api.github.com/users/proudcloud/followers","following_url":"https://api.github.com/users/proudcloud/following{/other_user}","gists_url":"https://api.github.com/users/proudcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/proudcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proudcloud/subscriptions","organizations_url":"https://api.github.com/users/proudcloud/orgs","repos_url":"https://api.github.com/users/proudcloud/repos","events_url":"https://api.github.com/users/proudcloud/events{/privacy}","received_events_url":"https://api.github.com/users/proudcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/proudcloud/awesome","description":"","fork":false,"url":"https://api.github.com/repos/proudcloud/awesome","forks_url":"https://api.github.com/repos/proudcloud/awesome/forks","keys_url":"https://api.github.com/repos/proudcloud/awesome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/proudcloud/awesome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/proudcloud/awesome/teams","hooks_url":"https://api.github.com/repos/proudcloud/awesome/hooks","issue_events_url":"https://api.github.com/repos/proudcloud/awesome/issues/events{/number}","events_url":"https://api.github.com/repos/proudcloud/awesome/events","assignees_url":"https://api.github.com/repos/proudcloud/awesome/assignees{/user}","branches_url":"https://api.github.com/repos/proudcloud/awesome/branches{/branch}","tags_url":"https://api.github.com/repos/proudcloud/awesome/tags","blobs_url":"https://api.github.com/repos/proudcloud/awesome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/proudcloud/awesome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/proudcloud/awesome/git/refs{/sha}","trees_url":"https://api.github.com/repos/proudcloud/awesome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/proudcloud/awesome/statuses/{sha}","languages_url":"https://api.github.com/repos/proudcloud/awesome/languages","stargazers_url":"https://api.github.com/repos/proudcloud/awesome/stargazers","contributors_url":"https://api.github.com/repos/proudcloud/awesome/contributors","subscribers_url":"https://api.github.com/repos/proudcloud/awesome/subscribers","subscription_url":"https://api.github.com/repos/proudcloud/awesome/subscription","commits_url":"https://api.github.com/repos/proudcloud/awesome/commits{/sha}","git_commits_url":"https://api.github.com/repos/proudcloud/awesome/git/commits{/sha}","comments_url":"https://api.github.com/repos/proudcloud/awesome/comments{/number}","issue_comment_url":"https://api.github.com/repos/proudcloud/awesome/issues/comments{/number}","contents_url":"https://api.github.com/repos/proudcloud/awesome/contents/{+path}","compare_url":"https://api.github.com/repos/proudcloud/awesome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/proudcloud/awesome/merges","archive_url":"https://api.github.com/repos/proudcloud/awesome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/proudcloud/awesome/downloads","issues_url":"https://api.github.com/repos/proudcloud/awesome/issues{/number}","pulls_url":"https://api.github.com/repos/proudcloud/awesome/pulls{/number}","milestones_url":"https://api.github.com/repos/proudcloud/awesome/milestones{/number}","notifications_url":"https://api.github.com/repos/proudcloud/awesome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/proudcloud/awesome/labels{/name}","releases_url":"https://api.github.com/repos/proudcloud/awesome/releases{/id}","created_at":"2015-05-13T07:05:27Z","updated_at":"2015-05-16T11:25:55Z","pushed_at":"2015-05-19T14:31:32Z","git_url":"git://github.com/proudcloud/awesome.git","ssh_url":"git@github.com:proudcloud/awesome.git","clone_url":"https://github.com/proudcloud/awesome.git","svn_url":"https://github.com/proudcloud/awesome","homepage":null,"size":730,"stargazers_count":10,"watchers_count":10,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":10,"default_branch":"master"}},"base":{"label":"proudcloud:master","ref":"master","sha":"5d0a7d0cf581d79d8b84d6e14016a2d62c81a7ab","user":{"login":"proudcloud","id":319600,"avatar_url":"https://avatars.githubusercontent.com/u/319600?v=3","gravatar_id":"","url":"https://api.github.com/users/proudcloud","html_url":"https://github.com/proudcloud","followers_url":"https://api.github.com/users/proudcloud/followers","following_url":"https://api.github.com/users/proudcloud/following{/other_user}","gists_url":"https://api.github.com/users/proudcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/proudcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proudcloud/subscriptions","organizations_url":"https://api.github.com/users/proudcloud/orgs","repos_url":"https://api.github.com/users/proudcloud/repos","events_url":"https://api.github.com/users/proudcloud/events{/privacy}","received_events_url":"https://api.github.com/users/proudcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":35533626,"name":"awesome","full_name":"proudcloud/awesome","owner":{"login":"proudcloud","id":319600,"avatar_url":"https://avatars.githubusercontent.com/u/319600?v=3","gravatar_id":"","url":"https://api.github.com/users/proudcloud","html_url":"https://github.com/proudcloud","followers_url":"https://api.github.com/users/proudcloud/followers","following_url":"https://api.github.com/users/proudcloud/following{/other_user}","gists_url":"https://api.github.com/users/proudcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/proudcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proudcloud/subscriptions","organizations_url":"https://api.github.com/users/proudcloud/orgs","repos_url":"https://api.github.com/users/proudcloud/repos","events_url":"https://api.github.com/users/proudcloud/events{/privacy}","received_events_url":"https://api.github.com/users/proudcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/proudcloud/awesome","description":"","fork":false,"url":"https://api.github.com/repos/proudcloud/awesome","forks_url":"https://api.github.com/repos/proudcloud/awesome/forks","keys_url":"https://api.github.com/repos/proudcloud/awesome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/proudcloud/awesome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/proudcloud/awesome/teams","hooks_url":"https://api.github.com/repos/proudcloud/awesome/hooks","issue_events_url":"https://api.github.com/repos/proudcloud/awesome/issues/events{/number}","events_url":"https://api.github.com/repos/proudcloud/awesome/events","assignees_url":"https://api.github.com/repos/proudcloud/awesome/assignees{/user}","branches_url":"https://api.github.com/repos/proudcloud/awesome/branches{/branch}","tags_url":"https://api.github.com/repos/proudcloud/awesome/tags","blobs_url":"https://api.github.com/repos/proudcloud/awesome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/proudcloud/awesome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/proudcloud/awesome/git/refs{/sha}","trees_url":"https://api.github.com/repos/proudcloud/awesome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/proudcloud/awesome/statuses/{sha}","languages_url":"https://api.github.com/repos/proudcloud/awesome/languages","stargazers_url":"https://api.github.com/repos/proudcloud/awesome/stargazers","contributors_url":"https://api.github.com/repos/proudcloud/awesome/contributors","subscribers_url":"https://api.github.com/repos/proudcloud/awesome/subscribers","subscription_url":"https://api.github.com/repos/proudcloud/awesome/subscription","commits_url":"https://api.github.com/repos/proudcloud/awesome/commits{/sha}","git_commits_url":"https://api.github.com/repos/proudcloud/awesome/git/commits{/sha}","comments_url":"https://api.github.com/repos/proudcloud/awesome/comments{/number}","issue_comment_url":"https://api.github.com/repos/proudcloud/awesome/issues/comments{/number}","contents_url":"https://api.github.com/repos/proudcloud/awesome/contents/{+path}","compare_url":"https://api.github.com/repos/proudcloud/awesome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/proudcloud/awesome/merges","archive_url":"https://api.github.com/repos/proudcloud/awesome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/proudcloud/awesome/downloads","issues_url":"https://api.github.com/repos/proudcloud/awesome/issues{/number}","pulls_url":"https://api.github.com/repos/proudcloud/awesome/pulls{/number}","milestones_url":"https://api.github.com/repos/proudcloud/awesome/milestones{/number}","notifications_url":"https://api.github.com/repos/proudcloud/awesome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/proudcloud/awesome/labels{/name}","releases_url":"https://api.github.com/repos/proudcloud/awesome/releases{/id}","created_at":"2015-05-13T07:05:27Z","updated_at":"2015-05-16T11:25:55Z","pushed_at":"2015-05-19T14:31:32Z","git_url":"git://github.com/proudcloud/awesome.git","ssh_url":"git@github.com:proudcloud/awesome.git","clone_url":"https://github.com/proudcloud/awesome.git","svn_url":"https://github.com/proudcloud/awesome","homepage":null,"size":730,"stargazers_count":10,"watchers_count":10,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/proudcloud/awesome/pulls/6"},"html":{"href":"https://github.com/proudcloud/awesome/pull/6"},"issue":{"href":"https://api.github.com/repos/proudcloud/awesome/issues/6"},"comments":{"href":"https://api.github.com/repos/proudcloud/awesome/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/proudcloud/awesome/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/proudcloud/awesome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/proudcloud/awesome/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/proudcloud/awesome/statuses/4d5b36bca9947be83ef0a86432c6228246a87575"}}}}