Skip to content

imhta/rails_6_devise_example

Repository files navigation

Rails 6 devise example

It is an example app and a basic template for devise auth in rails 6 with omni github auth.

Build with

  • Ruby on Rails
  • Bootstrap with Webpack
  • Github OAuth

Get Started

Requirements

  • Ruby 2.6
  • Rails 6
  • Foreman gem

Clone

git clone https://github.com/imhta/rails_6_devise_example.git
cd rails_6_devise_example

Install and migrate db

bundle install
yarn install --check-files
rails db:migrate

Start Server

To start rails server

rails server

To start webpack server (rails 6 default is to use webpack)

gem install foreman
foreman start -f Procfile.dev

Screenshots

Log In Page

Sign Up Page

Forgot password Page

Home Page

Useful links

Common Error