Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/clerk/clerk-rails-starter
- Owner: clerk
- Created: 2021-06-17T08:40:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T02:16:26.000Z (7 months ago)
- Last Synced: 2024-06-03T01:33:02.658Z (5 months ago)
- Topics: authentication, rails
- Language: Ruby
- Homepage: https://clerk-rails-starter.herokuapp.com
- Size: 3.59 MB
- Stars: 9
- Watchers: 2
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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/).