Devise has a bunch of example applications that provide examples of how Devise is used/installed. Devise-Two-Factor was then adapted to the application.
- Ruby 3.2.2
- Rails 7.1.1
bundle install
bin/rails db:create
bin/rails db:migrate
bin/rails server
I took inspiration from this project. If you are using Rails 7.0.X, be sure to check it out!