Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.56 KB

File metadata and controls

74 lines (48 loc) · 1.56 KB

One Tambon One Grader

Become a god of competitive programming, code and create algorithms efficiently.

An online grader which was originally provided for POSN KKU center students but currently open for everybody.

Original otog

This project is an upgrade version of

  1. otog.in.th: The current version of polyrepo otog
  2. OTOG-next: The newer version of otog developed in Nextjs
  3. otog.org: The OG otog grader which is no longer maintained

Running Locally

Make sure that you have git, node, pnpm, and docker installed

  1. Install dependencies
pnpm i
  1. Set up environment file, copy .env.template and rename to .env
cp .env.template .env
cp ./apps/api/.env.template ./apps/api/.env
  1. Spin up the database using docker compose
docker compose -f docker-compose.dev.yml up -d
  1. Run codegen
pnpm codegen
  1. Start development server
pnpm dev

Open http://localhost:3000 with your browser to see the result.

TODO

  • Subtask Testcase
  • Upload Library
  • Rating and Rank
  • Forgot Password
  • Editorial Article

Bug Report

If you have any issue, feel free to open a new one in the issue tab

Contributing

Pull requests are welcome. : )