{"action":"created","comment":{"url":"https://api.github.com/repos/codebar/tutorials/pulls/comments/38192437","id":38192437,"diff_hunk":"@@ -0,0 +1,155 @@\n+---\n+layout: page\n+title: Introduction to Sinatra\n+---\n+\n+## What is Sinatra?\n+\n+Sinatra is a super simple framework for making websites using Ruby and HTML.\n+It's easy to understand, and a great tool to start learning web development\n+with!\n+\n+Before you continue, make sure you'll completed the [HTML tutorial][html-tut],\n+[version control tutorial][vc-tut], and the [Ruby tutorial][ruby-tut].\n+\n+[html-tut]: http://codebar.github.io/tutorials/html/lesson1/tutorial.html\n+[vc-tut]: http://codebar.github.io/tutorials/version-control/introduction/tutorial.html\n+[ruby-tut]: http://codebar.github.io/tutorials/ruby/lesson1/tutorial.html\n+\n+## Installing Ruby\n+\n+Before you begin, you must have Ruby installed on your machine. There are a\n+couple of different ways you can get ruby setup.\n+\n+- Windows installation using [Ruby installer][ruby-installer]\n+- Mac & Linux installation using [rbenv][rbenv-install]\n+\n+[rbenv-install]: https://github.com/sstephenson/rbenv \"rbenv\"\n+[ruby-installer]: http://rubyinstaller.org/\n+\n+Once you've got Ruby installed, you'll need to install Sinatra. Open the\n+terminal / command prompt, and type the following:\n+\n+```\n+gem install sinatra","path":"sinatra/lesson1/tutorial.md","position":34,"original_position":34,"commit_id":"3393a7485b545dfe8eb0a3a04ff5a9cd184d6526","original_commit_id":"3393a7485b545dfe8eb0a3a04ff5a9cd184d6526","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"body":"Hm, yes, we should be handling deps correctly. Do you think it should be how we introduce installing gems from the start, or should we first use gem, and then introduce the Gemfile in a later lesson?","created_at":"2015-08-28T11:55:24Z","updated_at":"2015-08-28T11:55:24Z","html_url":"https://github.com/codebar/tutorials/pull/199#discussion_r38192437","pull_request_url":"https://api.github.com/repos/codebar/tutorials/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/codebar/tutorials/pulls/comments/38192437"},"html":{"href":"https://github.com/codebar/tutorials/pull/199#discussion_r38192437"},"pull_request":{"href":"https://api.github.com/repos/codebar/tutorials/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/codebar/tutorials/pulls/199","id":41774745,"html_url":"https://github.com/codebar/tutorials/pull/199","diff_url":"https://github.com/codebar/tutorials/pull/199.diff","patch_url":"https://github.com/codebar/tutorials/pull/199.patch","issue_url":"https://api.github.com/repos/codebar/tutorials/issues/199","number":199,"state":"open","locked":false,"title":"Sinatra tutorial","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"body":"Hello gang! I've finally pushed it. I'm bad at this.\r\n\r\nStill a work in progress (I feel we should have more than just 1 part before merge), but I thought it would be good to get some visibility.\r\n\r\nCheers,\r\nLouis","created_at":"2015-08-06T10:49:41Z","updated_at":"2015-08-28T11:55:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36bbe88de40e223b6f391ab793fb56948a219a6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codebar/tutorials/pulls/199/commits","review_comments_url":"https://api.github.com/repos/codebar/tutorials/pulls/199/comments","review_comment_url":"https://api.github.com/repos/codebar/tutorials/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codebar/tutorials/issues/199/comments","statuses_url":"https://api.github.com/repos/codebar/tutorials/statuses/3393a7485b545dfe8eb0a3a04ff5a9cd184d6526","head":{"label":"lpil:sinatra-tut","ref":"sinatra-tut","sha":"3393a7485b545dfe8eb0a3a04ff5a9cd184d6526","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"repo":{"id":37607500,"name":"tutorials","full_name":"lpil/tutorials","owner":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpil/tutorials","description":"codebar's tutorials","fork":true,"url":"https://api.github.com/repos/lpil/tutorials","forks_url":"https://api.github.com/repos/lpil/tutorials/forks","keys_url":"https://api.github.com/repos/lpil/tutorials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpil/tutorials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpil/tutorials/teams","hooks_url":"https://api.github.com/repos/lpil/tutorials/hooks","issue_events_url":"https://api.github.com/repos/lpil/tutorials/issues/events{/number}","events_url":"https://api.github.com/repos/lpil/tutorials/events","assignees_url":"https://api.github.com/repos/lpil/tutorials/assignees{/user}","branches_url":"https://api.github.com/repos/lpil/tutorials/branches{/branch}","tags_url":"https://api.github.com/repos/lpil/tutorials/tags","blobs_url":"https://api.github.com/repos/lpil/tutorials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpil/tutorials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpil/tutorials/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpil/tutorials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpil/tutorials/statuses/{sha}","languages_url":"https://api.github.com/repos/lpil/tutorials/languages","stargazers_url":"https://api.github.com/repos/lpil/tutorials/stargazers","contributors_url":"https://api.github.com/repos/lpil/tutorials/contributors","subscribers_url":"https://api.github.com/repos/lpil/tutorials/subscribers","subscription_url":"https://api.github.com/repos/lpil/tutorials/subscription","commits_url":"https://api.github.com/repos/lpil/tutorials/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpil/tutorials/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpil/tutorials/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpil/tutorials/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpil/tutorials/contents/{+path}","compare_url":"https://api.github.com/repos/lpil/tutorials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpil/tutorials/merges","archive_url":"https://api.github.com/repos/lpil/tutorials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpil/tutorials/downloads","issues_url":"https://api.github.com/repos/lpil/tutorials/issues{/number}","pulls_url":"https://api.github.com/repos/lpil/tutorials/pulls{/number}","milestones_url":"https://api.github.com/repos/lpil/tutorials/milestones{/number}","notifications_url":"https://api.github.com/repos/lpil/tutorials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpil/tutorials/labels{/name}","releases_url":"https://api.github.com/repos/lpil/tutorials/releases{/id}","created_at":"2015-06-17T16:40:58Z","updated_at":"2015-06-17T16:40:59Z","pushed_at":"2015-08-28T07:28:56Z","git_url":"git://github.com/lpil/tutorials.git","ssh_url":"git@github.com:lpil/tutorials.git","clone_url":"https://github.com/lpil/tutorials.git","svn_url":"https://github.com/lpil/tutorials","homepage":"tutorials.codebar.io","size":37032,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"codebar:gh-pages","ref":"gh-pages","sha":"75c911d2c1320cb2f053a57abe1a9f1270ff1c19","user":{"login":"codebar","id":5642384,"avatar_url":"https://avatars.githubusercontent.com/u/5642384?v=3","gravatar_id":"","url":"https://api.github.com/users/codebar","html_url":"https://github.com/codebar","followers_url":"https://api.github.com/users/codebar/followers","following_url":"https://api.github.com/users/codebar/following{/other_user}","gists_url":"https://api.github.com/users/codebar/gists{/gist_id}","starred_url":"https://api.github.com/users/codebar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebar/subscriptions","organizations_url":"https://api.github.com/users/codebar/orgs","repos_url":"https://api.github.com/users/codebar/repos","events_url":"https://api.github.com/users/codebar/events{/privacy}","received_events_url":"https://api.github.com/users/codebar/received_events","type":"Organization","site_admin":false},"repo":{"id":13788016,"name":"tutorials","full_name":"codebar/tutorials","owner":{"login":"codebar","id":5642384,"avatar_url":"https://avatars.githubusercontent.com/u/5642384?v=3","gravatar_id":"","url":"https://api.github.com/users/codebar","html_url":"https://github.com/codebar","followers_url":"https://api.github.com/users/codebar/followers","following_url":"https://api.github.com/users/codebar/following{/other_user}","gists_url":"https://api.github.com/users/codebar/gists{/gist_id}","starred_url":"https://api.github.com/users/codebar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebar/subscriptions","organizations_url":"https://api.github.com/users/codebar/orgs","repos_url":"https://api.github.com/users/codebar/repos","events_url":"https://api.github.com/users/codebar/events{/privacy}","received_events_url":"https://api.github.com/users/codebar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codebar/tutorials","description":"codebar's tutorials","fork":false,"url":"https://api.github.com/repos/codebar/tutorials","forks_url":"https://api.github.com/repos/codebar/tutorials/forks","keys_url":"https://api.github.com/repos/codebar/tutorials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codebar/tutorials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codebar/tutorials/teams","hooks_url":"https://api.github.com/repos/codebar/tutorials/hooks","issue_events_url":"https://api.github.com/repos/codebar/tutorials/issues/events{/number}","events_url":"https://api.github.com/repos/codebar/tutorials/events","assignees_url":"https://api.github.com/repos/codebar/tutorials/assignees{/user}","branches_url":"https://api.github.com/repos/codebar/tutorials/branches{/branch}","tags_url":"https://api.github.com/repos/codebar/tutorials/tags","blobs_url":"https://api.github.com/repos/codebar/tutorials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codebar/tutorials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codebar/tutorials/git/refs{/sha}","trees_url":"https://api.github.com/repos/codebar/tutorials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codebar/tutorials/statuses/{sha}","languages_url":"https://api.github.com/repos/codebar/tutorials/languages","stargazers_url":"https://api.github.com/repos/codebar/tutorials/stargazers","contributors_url":"https://api.github.com/repos/codebar/tutorials/contributors","subscribers_url":"https://api.github.com/repos/codebar/tutorials/subscribers","subscription_url":"https://api.github.com/repos/codebar/tutorials/subscription","commits_url":"https://api.github.com/repos/codebar/tutorials/commits{/sha}","git_commits_url":"https://api.github.com/repos/codebar/tutorials/git/commits{/sha}","comments_url":"https://api.github.com/repos/codebar/tutorials/comments{/number}","issue_comment_url":"https://api.github.com/repos/codebar/tutorials/issues/comments{/number}","contents_url":"https://api.github.com/repos/codebar/tutorials/contents/{+path}","compare_url":"https://api.github.com/repos/codebar/tutorials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codebar/tutorials/merges","archive_url":"https://api.github.com/repos/codebar/tutorials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codebar/tutorials/downloads","issues_url":"https://api.github.com/repos/codebar/tutorials/issues{/number}","pulls_url":"https://api.github.com/repos/codebar/tutorials/pulls{/number}","milestones_url":"https://api.github.com/repos/codebar/tutorials/milestones{/number}","notifications_url":"https://api.github.com/repos/codebar/tutorials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codebar/tutorials/labels{/name}","releases_url":"https://api.github.com/repos/codebar/tutorials/releases{/id}","created_at":"2013-10-22T22:48:27Z","updated_at":"2015-08-24T01:17:09Z","pushed_at":"2015-08-27T18:36:28Z","git_url":"git://github.com/codebar/tutorials.git","ssh_url":"git@github.com:codebar/tutorials.git","clone_url":"https://github.com/codebar/tutorials.git","svn_url":"https://github.com/codebar/tutorials","homepage":"tutorials.codebar.io","size":38478,"stargazers_count":52,"watchers_count":52,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":96,"mirror_url":null,"open_issues_count":18,"forks":96,"open_issues":18,"watchers":52,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/codebar/tutorials/pulls/199"},"html":{"href":"https://github.com/codebar/tutorials/pull/199"},"issue":{"href":"https://api.github.com/repos/codebar/tutorials/issues/199"},"comments":{"href":"https://api.github.com/repos/codebar/tutorials/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/codebar/tutorials/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/codebar/tutorials/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codebar/tutorials/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/codebar/tutorials/statuses/3393a7485b545dfe8eb0a3a04ff5a9cd184d6526"}}}}