Videa Docs

Quickstart

Get Videa running locally in minutes.

Prerequisites

  • Node.js 20.9+
  • pnpm 10+
  • PostgreSQL database (Supabase, Neon, or Vercel Postgres recommended)

Installation

1. Clone and install dependencies

git clone <your-videa-repository-url>
cd Videa
pnpm install

2. Configure environment variables

Copy the example environment file and fill in your values:

cp .env.example .env

At minimum, you need:

DATABASE_URL="postgresql://user:password@host/db?sslmode=require"
BETTER_AUTH_SECRET="at-least-32-characters-random-key"
BETTER_AUTH_URL="http://localhost:3000"
NEXT_PUBLIC_APP_URL="http://localhost:3000"

See Environment Variables for the full list.

3. Set up the database

pnpm db:push

This pushes the Drizzle schema to your database. For production, use migrations:

pnpm db:generate
pnpm db:migrate

4. Create an admin account

pnpm admin:setup

5. Start the dev server

pnpm dev

Visit http://localhost:3000 to see your app.

What's Next?

On this page