The repository is private. You must create a SSH key and add it to GitHub before you could pull the repository.
git clone git@github.com:VCS-AI/cityu-vet-sim-main.git
npm install -g pnpm
pnpm install
pnpm install
.env file# Required
DATABASE_URL=postgresql://user:password@localhost:5432/mydb
OPENAI_API_KEY=sk-xxxxxxxx
BETTER_AUTH_SECRET=dev-secret
ELEVENLABS_API_KEY=el-xxxxxxxx
ELEVENLABS_AGENT_ID=agent_xxxx
BLOB_READ_WRITE_TOKEN=vercel_blob_xxxx
# Environment
NODE_ENV=development
# Feature flags
DISABLE_CASE_PROGRESSION_LOCK=true
UNLOCK_ALL_CASES=true
# Client-side
NEXT_PUBLIC_VERCEL_ENV=development
NEXT_PUBLIC_VERCEL_URL=http://localhost:3000
NEXT_PUBLIC_DISABLE_CASE_PROGRESSION_LOCK=true
NEXT_PUBLIC_UNLOCK_ALL_CASES=true
Option A: Using Docker (recommended)
docker run --name local-postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_USER=postgres \
-e POSTGRES_DB=mydb \
-p 5432:5432 \
-d postgres:15
Then set:
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/mydb
Option B: Using Supabase / Neon / Railway
Create a database and copy the connection string into DATABASE_URL.
pnpm drizzle-kit generate
pnpm drizzle-kit migrate
pnpm dev
The default port for local development is 3000.