Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1011 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 1011 Bytes

README

Prerequisites

Please use your platform's specific instructions for the below as needed.

Requirements

  • Ruby via the .ruby-version
  • The gems in the associated Gemfile
  • puma-dev to simplify HTTPS connections (WebAuthn requires a Secure context)

Setup

To have puma-dev proxy the requests to the foreground server (bundle exec rails server), you will need to specify the port to map to the test domain (see: https://github.com/puma/puma-dev#proxy-support):

echo '3210' > ~/.puma-dev/devise-passkeys

Running the server

./bin/dev_server

(which is a simple wrapper around):

bundle exec rails s --port 3210

The app is now running at https://devise-passkeys.test

Pulled from Getting your Rails dev environment ready for passkeys