Skip to content

troptropcontent/rails_with_rspec_devise_google_omni_auth_and_cancancan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

This template sets up :

  • rspec
  • factorybot
  • devise
  • omniauth with google (through devise)
  • cancancan

To use it you just need to run :

rails new your_future_awesome_project_name -m https://raw.githubusercontent.com/troptropcontent/rails_with_rspec_devise_google_omni_auth_and_cancancan/master/template.rb

Then, to have it working you need to set up your google credentials (how to get some) in your rails credentials :

# EDITOR="code --wait" bin/rails credentials:edit

google_oauth2:
  client_id: xxxxxxx.apps.googleusercontent.com
  client_secret: xxxxxx

And voilà !

PS : There is no CSS, you'll have to do what you have to do to make it pretty

About

A rails template that sets up rspec, devise, omniauth with google and cancan.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages