Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clerk/clerk-rails-starter

Official guide on how to use Clerk.dev with Rails
https://github.com/clerk/clerk-rails-starter

authentication rails

Last synced: 3 months ago
JSON representation

Official guide on how to use Clerk.dev with Rails

Awesome Lists containing this project

README

        










# Clerk Rails Starter

Official guide on how to add authentication to Rails with Clerk.dev

![Sign up with Clerk.dev](/sign_up.gif)

## Getting started on Heroku

Get your `CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` environment variables from [Clerk Dashboard](https://dashboard.clerk.dev).

## Getting started locally

1. Fork this repo
2. Clone your fork locally with `git clone`
3. `cd` into your freshly cloned git repo
4. `cp .env.sample .env.local`
5. Find your instance configuration in the [Clerk
dashboard](https://dashboard.clerk.dev/) and edit your .env.local accordingly
6. Run `bundle install` (you need to have [Ruby](https://www.ruby-lang.org/en/documentation/installation/) and [bundler](https://bundler.io/) installed)
7. Run `yarn install` (you need to have [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) and
[yarn 1](https://classic.yarnpkg.com/en/docs/install) installed)
8. Run the server with `rails s`

## Learn More

To learn more about Clerk.dev take a look at the [official documentation](https://docs.clerk.dev/).