Official guide on how to add authentication to Rails with Clerk.dev
Get your CLERK_PUBLISHABLE_KEY
and CLERK_SECRET_KEY
environment variables from Clerk Dashboard.
- Fork this repo
- Clone your fork locally with
git clone
cd
into your freshly cloned git repocp .env.sample .env.local
- Find your instance configuration in the Clerk dashboard and edit your .env.local accordingly
- Run
bundle install
(you need to have Ruby and bundler installed) - Run
yarn install
(you need to have npm and yarn 1 installed) - Run the server with
rails s
To learn more about Clerk.dev take a look at the official documentation.