
Connecting mentors and students.
Install Ruby 2.1.5
Using rvm
rvm install 2.1.5Using rbenv
rbenv install 2.1.5
rbenv global 2.1.5gem install bundler
bundle install --without productionbundle exec rake db:create
bundle exec rake db:migrateCreate 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_SECRETNote: 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 >> .envbundle exec rake