Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 949 Bytes

README.md

File metadata and controls

36 lines (21 loc) · 949 Bytes

Rails 5 Boilerplate

Template for quickly creating new, pre-configured Rails 5 applications.

Install

rails new [project] -m https://raw.githubusercontent.com/signisto/rails-boilerplate/master/template.rb

Development

The quickest way to test the template is to use it to build a new test application:

bin/generate-test-app

Devise

Devise is included by default, very little configuration is required to get it running.

Google Auth Setup

By default the app comes pre-setup to work with Google account login.

  • Go to https://console.developers.google.com/apis/dashboard
  • Open app or create a new one
  • Ensure Google+ and Contacts APIs are enabled
  • Go to credentials and generate "OAuth Client -> Web Application"
  • Ensure the callback URL has this path /auth/google_oauth2/callback
  • Add .env values with new ClientID and Secret