{"action":"created","comment":{"url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/comments/49068223","id":49068223,"diff_hunk":"@@ -0,0 +1,89 @@\n+# LetsFly\n+[![Circle CI](https://circleci.com/gh/andela-echigbo/LetsFly/tree/master.svg?style=svg)](https://circleci.com/gh/andela-echigbo/LetsFly/tree/master) [![Coverage Status](https://coveralls.io/repos/andela-echigbo/LetsFly/badge.svg?branch=master&service=github)](https://coveralls.io/github/andela-echigbo/LetsFly?branch=master)\n+\n+\n+##Introduction\n+\n+LetsFly is a flight booking system developed with Ruby on Rails. LetsFly is connected to most of the Nigerian airlines. The platform is used to search and book flights to from and to anywhere around the country through any airline of your choice.\n+\n+##Features\n+\n+This app enebles you to search for already registered flights and book the flight that you want. You can search for flights with date, your origin location and your destination. You can also specify the number of passengers going for this journey, and only the flights that have such number of available seats will be listed out for you.\n+\n+The paypal payment platform will be supported soon.\n+\n+You can also manage your bookings, Change the names, phone numbers and emails of the passengers of a particular booking. \n+\n+You can also cancel a booking if the flight has not departed.\n+\n+Mails are also sent to the user for every booking completed. This mail contains the booking information, including the booking number with which a flight can be searched.\n+\n+##Getting Started\n+\n+We can see the live app at http://lets-fly.herokuapp.com\n+\n+Now lets run this app. First you need to install <a href=\"https://www.ruby-lang.org\" target =\"blank\">Ruby</a>  and <a href=\"http://rubyonrails.org/\" target=\"blank\">Rails</a>\n+\n+##Dependencies\n+\n+This project is implemented using the rails framework and as such in order to effectively run this project locally, you need to have the version 4 of Rails running on your local development machine. You also need to have at least Ruby 2.1.6 installed to have an awesome experince of the app, as rails is written in ruby.\n+\n+\n+You also need to make sure that you have Rubygems and Bundler installed. RubyGems is a package management framework for Ruby and bundler is a ruby gem that helps to manage other external dependencies in a rails application.\n+\n+Once you have all the dependencies installed, you can now clone this repo to your local machine. Since you are here, I want to assume you know how to clone a repo.\n+\n+From your command prompt or terminal, navigate to the app folder and run these commands\n+```\n+bundle install\n+```\n+Bundle install takes care of all other dependencies that are required for this app to run.\n+\n+Once done, run the following command to prepare the database on your machine.\n+```\n+rake db:migrate\n+```\n+Then run the following command to preload the database with data.\n+```\n+rake db:seed\n+```\n+At this point, the app is ready to run. To run the app server, you need to run the rails console which runs on 'localhost:3000'. To start the rails server, run\n+```\n+rails s\n+```\n+or\n+```\n+rails server\n+```\n+\n+##Running the tests.\n+\n+After all the setting up as mentioned above, you can run the tests. The tests are driven by rspec, capybara and selenium. You can get them fired up by running the following command from the terminal.\n+```\n+rspec spec\n+```\n+or\n+```\n+bundle exec rspec\n+```\n+or\n+```\n+rake\n+```\n+\n+The app is a work in progress, as such, it has the following limitations among others.\n+\n+Booking can not be done via any other payment gateway.The app assumes that booking is cancelled when payment has not been made.App doesn't have a private domain name yet.\n+\n+You can also check <a href=\"https://fly.herokuapp.com\" target=\"blank\">the hosted version</a> of this app\n+\n+## Contributing\n+\n+Bug reports and pull requests are welcome on GitHub at https://github.com/andela-echigbo/letsfly. This project is intended to be a safe and welcoming space for collaboration. To contribute to this work:\n+\n+1. Fork it ( https://github.com/[andela-echigbo]/letsfly/fork )\n+2. Create your feature branch (`git checkout -b my-new-feature`)\n+3. Commit your changes (`git commit -am 'Add some feature'`)\n+4. Push to the branch (`git push origin my-new-feature`)\n+5. Create a new Pull Request\n+6. Wait","path":"README.md","position":89,"original_position":89,"commit_id":"5a6c162b57acd873b678f0ab1696b323b386b9a1","original_commit_id":"5a6c162b57acd873b678f0ab1696b323b386b9a1","user":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"body":"Thank you","created_at":"2016-01-07T12:29:41Z","updated_at":"2016-01-07T12:29:41Z","html_url":"https://github.com/andela-echigbo/LetsFly/pull/24#discussion_r49068223","pull_request_url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/comments/49068223"},"html":{"href":"https://github.com/andela-echigbo/LetsFly/pull/24#discussion_r49068223"},"pull_request":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24","id":54466588,"html_url":"https://github.com/andela-echigbo/LetsFly/pull/24","diff_url":"https://github.com/andela-echigbo/LetsFly/pull/24.diff","patch_url":"https://github.com/andela-echigbo/LetsFly/pull/24.patch","issue_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/24","number":24,"state":"closed","locked":false,"title":"Write ReadMe","user":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"body":"Why?\r\nThe users and contributors should be able to see the description\r\n\r\nHow?\r\nCreate the Readme.md file\r\nwrite the content of the file\r\n\r\nhttps://www.pivotaltracker.com/story/show/110645572\r\n[finished #110645572]","created_at":"2015-12-23T12:50:50Z","updated_at":"2016-01-07T12:29:42Z","closed_at":"2015-12-23T12:51:07Z","merged_at":"2015-12-23T12:51:07Z","merge_commit_sha":"d67220f31d7cd7ca0396c3f3dca55c6c6f892c4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24/commits","review_comments_url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24/comments","review_comment_url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/24/comments","statuses_url":"https://api.github.com/repos/andela-echigbo/LetsFly/statuses/5a6c162b57acd873b678f0ab1696b323b386b9a1","head":{"label":"andela-echigbo:ch-write-readme-110645572","ref":"ch-write-readme-110645572","sha":"5a6c162b57acd873b678f0ab1696b323b386b9a1","user":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"repo":{"id":47036784,"name":"LetsFly","full_name":"andela-echigbo/LetsFly","owner":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-echigbo/LetsFly","description":"Flight booking and management app built with Ruby on Rails as my checkpoint 2 project","fork":false,"url":"https://api.github.com/repos/andela-echigbo/LetsFly","forks_url":"https://api.github.com/repos/andela-echigbo/LetsFly/forks","keys_url":"https://api.github.com/repos/andela-echigbo/LetsFly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-echigbo/LetsFly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-echigbo/LetsFly/teams","hooks_url":"https://api.github.com/repos/andela-echigbo/LetsFly/hooks","issue_events_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/events{/number}","events_url":"https://api.github.com/repos/andela-echigbo/LetsFly/events","assignees_url":"https://api.github.com/repos/andela-echigbo/LetsFly/assignees{/user}","branches_url":"https://api.github.com/repos/andela-echigbo/LetsFly/branches{/branch}","tags_url":"https://api.github.com/repos/andela-echigbo/LetsFly/tags","blobs_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-echigbo/LetsFly/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-echigbo/LetsFly/languages","stargazers_url":"https://api.github.com/repos/andela-echigbo/LetsFly/stargazers","contributors_url":"https://api.github.com/repos/andela-echigbo/LetsFly/contributors","subscribers_url":"https://api.github.com/repos/andela-echigbo/LetsFly/subscribers","subscription_url":"https://api.github.com/repos/andela-echigbo/LetsFly/subscription","commits_url":"https://api.github.com/repos/andela-echigbo/LetsFly/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-echigbo/LetsFly/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-echigbo/LetsFly/contents/{+path}","compare_url":"https://api.github.com/repos/andela-echigbo/LetsFly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-echigbo/LetsFly/merges","archive_url":"https://api.github.com/repos/andela-echigbo/LetsFly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-echigbo/LetsFly/downloads","issues_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues{/number}","pulls_url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-echigbo/LetsFly/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-echigbo/LetsFly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-echigbo/LetsFly/labels{/name}","releases_url":"https://api.github.com/repos/andela-echigbo/LetsFly/releases{/id}","created_at":"2015-11-28T19:30:02Z","updated_at":"2015-11-28T19:32:03Z","pushed_at":"2016-01-06T00:47:56Z","git_url":"git://github.com/andela-echigbo/LetsFly.git","ssh_url":"git@github.com:andela-echigbo/LetsFly.git","clone_url":"https://github.com/andela-echigbo/LetsFly.git","svn_url":"https://github.com/andela-echigbo/LetsFly","homepage":null,"size":244,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"andela-echigbo:master","ref":"master","sha":"0c146390032cfa43381cec2e0e186947acc01714","user":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"repo":{"id":47036784,"name":"LetsFly","full_name":"andela-echigbo/LetsFly","owner":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-echigbo/LetsFly","description":"Flight booking and management app built with Ruby on Rails as my checkpoint 2 project","fork":false,"url":"https://api.github.com/repos/andela-echigbo/LetsFly","forks_url":"https://api.github.com/repos/andela-echigbo/LetsFly/forks","keys_url":"https://api.github.com/repos/andela-echigbo/LetsFly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-echigbo/LetsFly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-echigbo/LetsFly/teams","hooks_url":"https://api.github.com/repos/andela-echigbo/LetsFly/hooks","issue_events_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/events{/number}","events_url":"https://api.github.com/repos/andela-echigbo/LetsFly/events","assignees_url":"https://api.github.com/repos/andela-echigbo/LetsFly/assignees{/user}","branches_url":"https://api.github.com/repos/andela-echigbo/LetsFly/branches{/branch}","tags_url":"https://api.github.com/repos/andela-echigbo/LetsFly/tags","blobs_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-echigbo/LetsFly/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-echigbo/LetsFly/languages","stargazers_url":"https://api.github.com/repos/andela-echigbo/LetsFly/stargazers","contributors_url":"https://api.github.com/repos/andela-echigbo/LetsFly/contributors","subscribers_url":"https://api.github.com/repos/andela-echigbo/LetsFly/subscribers","subscription_url":"https://api.github.com/repos/andela-echigbo/LetsFly/subscription","commits_url":"https://api.github.com/repos/andela-echigbo/LetsFly/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-echigbo/LetsFly/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-echigbo/LetsFly/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-echigbo/LetsFly/contents/{+path}","compare_url":"https://api.github.com/repos/andela-echigbo/LetsFly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-echigbo/LetsFly/merges","archive_url":"https://api.github.com/repos/andela-echigbo/LetsFly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-echigbo/LetsFly/downloads","issues_url":"https://api.github.com/repos/andela-echigbo/LetsFly/issues{/number}","pulls_url":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-echigbo/LetsFly/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-echigbo/LetsFly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-echigbo/LetsFly/labels{/name}","releases_url":"https://api.github.com/repos/andela-echigbo/LetsFly/releases{/id}","created_at":"2015-11-28T19:30:02Z","updated_at":"2015-11-28T19:32:03Z","pushed_at":"2016-01-06T00:47:56Z","git_url":"git://github.com/andela-echigbo/LetsFly.git","ssh_url":"git@github.com:andela-echigbo/LetsFly.git","clone_url":"https://github.com/andela-echigbo/LetsFly.git","svn_url":"https://github.com/andela-echigbo/LetsFly","homepage":null,"size":244,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24"},"html":{"href":"https://github.com/andela-echigbo/LetsFly/pull/24"},"issue":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/24"},"comments":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/andela-echigbo/LetsFly/statuses/5a6c162b57acd873b678f0ab1696b323b386b9a1"}}}}