“Giving back little gifts of code”
24 Pull Requests is a yearly initiative to encourage developers around the world to send a pull request every day in December up to Christmas.
This is the site to help promote the project, highlighting why, how and where to send your pull requests.
Source hosted at GitHub. Report issues/feature requests on GitHub Issues. Follow us on Twitter @24pullrequests.
New to Ruby? No worries!
First things first, you'll need to install Ruby 1.9.3. I recommend using the excellent rbenv, and ruby-build
rbenv install 1.9.3-p194 rbenv global 1.9.3-p194
Next, you'll need to make sure that you have postgres installed. This can be done easily using Homebrew or by using http://postgresapp.com
brew install postgres
Now, let's install the gems from the
Gemfile ("Gems" are synonymous with libraries in other languages).
gem install bundler && rbenv rehash bundle install
Once all the gems are installed, we'll need to create the databases and tables. Rails makes this easy through the use of "Rake" tasks.
bundle exec rake db:create:all bundle exec rake db:migrate
Almost there! Now all we have to do is start up the Rails server and point our browser to http://localhost:3000
bundle exec rails s
Standard RSpec/Capybara tests are used for testing the application. The tests can be run with
bundle exec rake.
bundle exec rake konacha:serve.
Copyright (c) 2013 Andrew Nesbitt. See LICENSE for details.