Local Development
Set up your development environment to contribute to the AI Evaluation Platform
Node.js >= 18
pnpm >= 10
TypeScript
Prerequisites
1
Install Node.js & pnpm
Make sure you have Node.js version 18 or higher installed
node --version2
pnpm >= 10
Install pnpm package manager if you don't have it
npm install -g pnpmSetup Instructions
1
Clone the repository
git clone https://github.com/pauly7610/ai-evaluation-platform.git cd ai-evaluation-platform
2
Install dependencies
pnpm install3
Set up environment variables
cp .env.example .env.localEdit .env.local with your PostgreSQL, OAuth, and auth secrets
4
Set up the database
pnpm drizzle-kit push5
Start the development server
pnpm devApp available at:
http://localhost:3000
Development Commands
Development
pnpm devStart development server
pnpm buildProduction build
Testing
pnpm testRun tests
pnpm drizzle-kit pushDatabase migrations
SDK Package
The SDK package (@evalgate/sdk) is published to npm separately. For SDK consumers, use the standard install command rather than setting up the full development environment.
npm install @evalgate/sdkReady to start developing?
Now that your environment is set up, explore these resources: