NOTE: Do not update any of the ENV files for this particular configuration. ( Except the mount path for problems )
- Update the
##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR##
in the docker-compose file - Start the services
docker-compose up -d
- Install dependencies
pnpm install
- Copy env files
cp apps/web/.env.example apps/web/.env
cp packages/db/.env.example packages/db/.env
- Update the mount path in the
apps/web/.env
- Migrate Database and install local package
pnpm dlx turbo db:migrate && yarn install
- Start Dev
pnpm dev
1.Configure the judge0.conf
- Update the POSTGRES and REDIS configurations based on your local databases
- Update the
##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR##
in the docker-compose file - Start only judge0 service
docker-compose up server workers -d
- Install dependencies
pnpm install
- Copy env files and configure with the same conf you updated in the judge0
cp apps/web/.env.example apps/web/.env
cp packages/db/.env.example packages/db/.env
- Update the mount path in the
apps/web/.env
- Migrate Database and install local package
pnpm dlx turbo db:migrate && yarn install
- Start Dev
pnpm dev