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_exampleInstall and migrate db
bundle install
yarn install --check-files
rails db:migrateStart 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.devScreenshots
Log In Page
Sign Up Page
Forgot password Page
Home Page
Useful links
- How to Redirect to a specific page on successful sign in
- How to use custom mailer
- The Figaro Gem: an easier way to securely configure Rails applications
- OAuth with digital ocean in devise
- Omni Auth: overview
- Other Devise Examples



