If you have bought a license for MakerKit, you have access to all the repositories built by the MakerKit team. In this document, we will learn how to fetch and install the codebase.
To get started with the Next.js and Firebase SaaS template, we need to ensure you install the required software.
- Node.js (LTS recommended)
- Docker (optional but highly recommended)
To get the codebase on your local machine, clone the repository with the following command:
git clone email@example.com:makerkit/next-firebase-saas-kit.git
The command above clones the repository in the folder
you can rename it with the name of your project.
Now, run the following commands for:
- Moving into the folder
- Adding the remote to your own Git repository (if you haven't created a Git repository yet, you can do it later on)
- Adding the original Makerkit repository as "upstream" so we can fetch updates from the main repository:
git remote rm origin
git remote add origin <your-git-repository>
git remote add upstream firstname.lastname@example.org:makerkit/next-firebase-saas-kit.git
In this way, to fetch updates (after committing your files), simply run:
git pull upstream main
Sometimes, you'll likely run into conflicts when running this command, so carefully choose the changes (sorry!).
If you want to use the Lemon Squeezy branch, you'll need to switch to the
git checkout main-ls
Of course, when pulling updates, you'll need to pull from the
git pull upstream main-ls
Finally, we can install the NodeJS dependencies with
While the application code is fully working, we now need to set up your Firebase project.
So let's jump on to the next step!