Installation

In this part of the documentation, we are going to show you how to install and deploy the SaaSBold Boilerplate.

Before we start the installation process make sure you have Node.js installed on your machine. Otherwise, the installation commands won't work. Follow these steps to install the template:

  1. Download the zip file from SaaSBold

  2. Extract the zip file and cd into the template folder. Now run this command to install the dependencies:

npm install

or

yarn install

If the above commands do not work try:

npm install --legacy-peer-deps

It will resolve all the peer dependency-related issues.

This will install all the dependencies. Now follow the next steps to complete all the integrations:

When you are done with all the integration, now you can start the project on the local server

npm run dev

It’ll start the template on http://localhost:3000

Deploying on PaaS

If you are using a GitHub repo then you can go with free-of-cost and easy-to-use options like Vercel, or Netlify they offer decent-free tiers for Next.js hosting.

Since we are using Prisma ORM, make sure to edit the build command like this while deploying to Vercel.

prisma generate && npm run build

Last updated