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/run
or Rubymine build-inRun
Tests and CI
-
bin/ci
contains all the tests and checks for the app -
tmp/test.log
will 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 help
can tell you how to see this locally