- Find the Client ID and Client Secret values in (for app owner, currently [email protected] "gignado" project)
- https://console.developers.google.com
- APIs & auth
- Credentials
- Create a file
.ruby-env
in the root of the gignado app. - Add the following environment settings to the
.ruby-env
file:
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
- If Google is erring about a non registered redirect url, you'll need to add the one Google is complaining about to the gignado project in the google developers console.
- Run bundler
bundle install
- Create database
bundle exec rake db:create
bundle exec rake db:schema:load
Install colordiff in order to allow colors in minitest using the purdytest gem
brew install colordiff
From the command line, run guard:
guard
Seed Database with admin user:
bundle exec rake db:seed
The database is seeded with the following credentials:
- email: [email protected]
- password: adminado
Syncing to Gig-o-matic and mailing requires that memcache be enabled. It's turned off by default in development environment.
To switch it on:
rails dev:cache
After logging in, change your admin password by opening:
http://localhost:3000/members/edit