![Gitter](https://badges.gitter.im/Join Chat.svg)
Connecting mentors and students.
Install Ruby 2.1.5
Using rvm
rvm install 2.1.5
Using rbenv
rbenv install 2.1.5
rbenv global 2.1.5
gem install bundler
bundle install --without production
bundle exec rake db:create
bundle exec rake db:migrate
Create an application at https://github.com/settings/applications/new
with http://localhost:3000
as the Homepage URL
and http://localhost:3000/members/auth/github/callback
as the Authorization callback URL
.
Once your development application is setup, create a file named .env in the root of the application folder with the GitHub key and secret like so:
GITHUB_KEY=YOUR_KEY
GITHUB_SECRET=YOUR_SECRET
Note: Windows doesn't like creating a file named .env so do the following from a cmd prompt in your application folder:
echo GITHUB_KEY=YOUR_KEY >> .env
echo GITHUB_SECRET=YOUR_SECRET >> .env
bundle exec rake