playthecall / playthecall-2013

The Call é um jogo que reúne as pessoas ao redor do sonho coletivo de transformar o mundo.
playthecall
13 stars 5 forks source link

Play the call

Build Status

This read me intend to help you to setup the development environment.

HOW TO

Clone the app

$ git clone git://github.com/playthecall/playthecall.git

And execute bundle:

$ bundle

Copy and configure the database.yml:

$ cp config/database.yml.sample config/database.yml

Copy and configure the development.yml:

$ cp config/application/development.yml.sample config/application/development.yml

Learn more about Rails Environment Variables HERE

Setup your database:

$ rake db:setup

Import countries running the rake task:

$ rake import:countries

Import cities running the rake task (it will import cities from all countries):

$ rake import:cities

If you want to load specific cities from a certain country, pass the country code as param(to load cities from Brazil):

$ rake import:cities['br']

Now it is ready to contribute

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request