Clone the Repository

Clone the Remix Supabase SaaS Kit Turbo repository to your local machine.

0. Prerequisites

  • Node.js 18.x or later
  • Docker
  • Pnpm
  • Supabase account (optional for local development)
  • Payment Gateway account (Stripe/Lemon Squeezy)
  • Email Service account (optional for local development)

Clone this repository with the command:

git clone git@github.com:makerkit/remix-supabase-saas-kit-turbo

NB: If your SSH key isn't set - then use the HTTPS.

git clone https://github.com/makerkit/remix-supabase-saas-kit-turbo

NB: please switch to HTTPS for ALL commands if you are not using SSH, not just the clone command.

Now, remove the original origin:

git remote rm origin

Add upstream pointing to this repository so you can pull updates

git remote add upstream git@github.com:makerkit/remix-supabase-saas-kit-turbo

Once you have your own repository, do the same but use origin instead of upstream

To pull updates (please do this daily with your morning coffee):

git pull upstream main

This will keep your repository up to date.

0.1. Install Pnpm

# Install pnpm npm i -g pnpm

1. Setup dependencies

# Install dependencies pnpm i

2. Post-merge Hooks

It's very useful to run the following command after pulling updates from the upstream repository:

pnpm i

This ensures that any new dependencies are installed and the project is up to date. We can run this command automatically after pulling updates by setting up a post-merge hook.

Create a new file named post-merge in the .git/hooks directory:

touch .git/hooks/post-merge

Add the following content to the post-merge file:

#!/bin/bash pnpm i

Make the post-merge file executable:

chmod +x .git/hooks/post-merge

Now, every time you pull updates from the upstream repository, the pnpm i command will run automatically to ensure your project is up to date. This ensures you're always working with the latest changes and dependencies and avoid errors that may arise from outdated dependencies.


Subscribe to our Newsletter
Get the latest updates about React, Remix, Next.js, Firebase, Supabase and Tailwind CSS