Skip to content

satub/interception-game-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This app was creted for the Flatironschool Webdev-Fellowship Rails Assessment Project

  • Configuration You'll need github keys to enable the omniauth sign-in and login-in features. To prevent these keys from being pushed up to github, you need to exclude the file you have them in the .gitignore file. The devise.rb initializer in this repo has been set to read them from a separate Key class located in a non-tracked directory:

    config/initializers/devise.rb: `require_relative '../../donut/keys.rb' Devise.setup do |config| #Fetch my keys from my secret class keys = Key.new ....

    ==> OmniAuth

    Add a new OmniAuth provider. Check the wiki for more information on setting

    up on your models and hooks.

    config.omniauth :github, 'APP_ID', 'APP_SECRET', scope: 'player,public_repo'

    config.omniauth :github, keys.github_id, keys.github_secret, scope: 'player,public_repo'`

    .gitignore: # Ignore everything in the /donut-dir /donut/* !/donut/.keep

    donut/keys.rb: `class Key

    attr_reader :github_id, :github_secret

    def initialize @github_id = 'YOUR GITHUB KEY HERE' @github_secret = 'YOUR GITHUB SECRET HERE' end

    end`

  • Database creation rake db:migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published