code100x / algorithmic-arena

90 stars 96 forks source link

Local Development Setup

All Sevices withing Docker

NOTE: Do not update any of the ENV files for this particular configuration. ( Except the mount path for problems )

  1. Update the ##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR## in the docker-compose file
  2. Start the services
    docker-compose up -d
  3. Install dependencies
    pnpm install
  4. Copy env files
    cp apps/web/.env.example apps/web/.env
    cp packages/db/.env.example packages/db/.env
  5. Update the mount path in the apps/web/.env
  6. Migrate Database and install local package
    pnpm dlx turbo db:migrate && yarn install
  7. Start Dev
    pnpm dev

    Own Configuration

1.Configure the judge0.conf

If you use JUDGE0 in windows, change the mount path to have the \ instead of / for the mounting of judge0.conf and mounting of problems.