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
- Clone the repository:
git clone https://github.com/your-org/project-distri.git
cd project-distri/landing-page
- Install dependencies:
npm install
- Start the development server:
npm run dev
- 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.