README
July 18, 2023 ยท View on GitHub
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-devto 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