Skip to Content
DocumentationGetting StartedInstallation

Installation Guide

Get started with the AI SaaS template in just a few simple steps.

Prerequisites

  • Node.js 18.0 or later
  • npm (v7 or later), yarn, or pnpm
  • Git

Quick Start

  1. Clone the repository

    git clone https://github.com/torqbit/ai-saas-template.git cd ai-saas-template
  2. Install dependencies

    npm install # or yarn # or pnpm install
  3. Set up environment variables Create a .env.local file in the root directory:

    NEXT_PUBLIC_TORQBIT_API_KEY=your_api_key_here
  4. Run the development server

    npm run dev
  5. Open your browser Visit http://localhost:3000  to see your application running.

Troubleshooting

  • Port already in use: Try changing the port by running PORT=3001 npm run dev
  • Dependency issues: Delete node_modules and package-lock.json, then run npm install again
  • Environment variables not loading: Ensure your .env.local file is in the root directory and properly formatted
Last updated on