Skip to content

ChaoticNoise/gignado

Repository files navigation

Gignado

Setup Instructions

Setup Google Auth Environment Variables

  1. Find the Client ID and Client Secret values in (for app owner, currently [email protected] "gignado" project)
  1. Create a file .ruby-env in the root of the gignado app.
  2. Add the following environment settings to the .ruby-env file:
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
  1. 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.

Dependencies Install

  1. Run bundler
bundle install
  1. Create database
bundle exec rake db:create
bundle exec rake db:schema:load

Testing

Test with Color

Install colordiff in order to allow colors in minitest using the purdytest gem

brew install colordiff

Autotest and livereload browser using guard

From the command line, run guard:

guard

Login First Time

Seed Database with admin user:

bundle exec rake db:seed

The database is seeded with the following credentials:

Async jobs

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published