webauthn-with-devise
webauthn-with-devise copied to clipboard
The companion app for the article "Secure authentication for Rails with WebAuthn and Devise"
WebAuthn with Devise
Prerequisites
- Ruby - see the
.ruby-version(hopefully latest) - PostgreSQL - latest
- Redis - latest
- overmind - process manager (if you are not using Rubymine or similar)
Setup
- Pull down the app from version control
- Make sure you have Postgres running
- Make sure you have Redis running
bin/setup
Running The App
bin/runor Rubymine build-inRun
Tests and CI
bin/cicontains all the tests and checks for the apptmp/test.logwill use the production logging format not the development one.
Production
- All runtime configuration should be supplied in the UNIX environment
- Rails logging uses lograge.
bin/setup helpcan tell you how to see this locally