Get ignitionstack.pro up and running in minutes.
Before you begin, make sure you have the following installed:
| Tool | Version | Description |
|---|---|---|
| Node.js | 18.17+ | JavaScript runtime |
| npm/pnpm/yarn | Latest | Package manager |
| Git | Latest | Version control |
| Supabase CLI | Latest | Database management |
We recommend using Node.js 20 LTS for the best experience.
git clone https://github.com/ignitionstackpro/ignitionstack.pro.git
cd ignitionstack.pronpm installCopy the example environment file:
cp .env.example .envEdit .env with your credentials. See Environment Variables for detailed configuration.
npm run devNavigate to http://localhost:3000 to see your application.
Never commit your .env file to version control. It contains sensitive credentials.
These are the minimum variables needed to run the application:
# Supabase (Required)
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
# Authentication (Required)
AUTH_SECRET=your-nextauth-secret # Generate: openssl rand -base64 32# Stripe Payments
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_STRIPE_PUBLIC_KEY=pk_test_...
STRIPE_WEBHOOK_SECRET_KEY=whsec_...
# Email (Resend)
RESEND_API_KEY=re_...
RESEND_API_EMAIL_FROM=noreply@yourdomain.com
# Analytics
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
AUTH_MIXPANEL_TOKEN=your-token
# AI Features
AI_ENCRYPTION_KEY=your-32-char-key # Generate: openssl rand -hex 32
OPENAI_API_KEY=sk-...
GOOGLE_AI_API_KEY=...See Setup Guide for complete configuration of each integration.
| Command | Description |
|---|---|
npm run dev | Start development server on port 3000 |
npm run dev:turbo | Start with Turbopack (faster) |
npm run dev:docs | Start documentation on port 3001 |
npm run dev:all | Start app + docs simultaneously |
npm run build | Build for production |
npm run test | Run unit tests with Vitest |
npm run e2e | Run E2E tests with Playwright |
npm run lint | Run ESLint |
npm run db:gen | Generate Supabase types |
npm run db:push | Push database migrations |
npm install -g supabasesupabase loginsupabase link --project-ref your-project-refnpm run db:pushnpm run db:genSee Supabase Setup for detailed database configuration including RLS policies.
After installation, verify everything is working:
Port 3000 already in use
Kill the process using the port:
npm run stop:all
# or manually
kill -9 $(lsof -t -i:3000)Module not found errors
Clean install dependencies:
npm run cleanSupabase connection failed
Verify your .env variables and ensure RLS policies are configured.