HomeDocsBlog

Installation

Get Project Distri running locally in just a few minutes.

Prerequisites

Make sure you have the following installed:

  • Node.js 18.0 or later
  • npm or yarn or pnpm

Setup

  1. Clone the repository:
git clone https://github.com/your-org/project-distri.git
cd project-distri/landing-page
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

Environment Variables

Create a .env.local file in the root:

# No required env variables for the base template
# Add your own as needed
NEXT_PUBLIC_SITE_URL=http://localhost:3000

Building for Production

npm run build
npm start

The production build is optimized with static generation where possible and server-side rendering where needed.