Configuring Your Development Environment
5 min read read
Loading...
This document outlines the standard procedure for setting up your local environment to contribute to the IARAP platform. We use a Turborepo-powered monorepo, requiring specific tooling versions to ensure build consistency.
Before cloning the repository, ensure you have the following installed:
nvm or fnm to manage versions).Clone the repository and install dependencies from the root:
git clone https://github.com/iarap/iarap-platform.git
cd iarap-platform
pnpm install
Copy the example environment files. You will need to request the development secrets (like Razorpay test keys and OAuth client secrets) from your team lead.
cp .env.example .env
cp apps/web/.env.example apps/web/.env.local
Start the local Docker containers:
docker-compose up -d
Once Postgres is running, push the schema and seed the initial data:
pnpm --filter @iarap/database db:push
pnpm --filter @iarap/database db:seed
Start the Turborepo development task from the root directory:
pnpm dev
The web application will be available at http://localhost:3000.
pnpm --filter @iarap/database db:push.