为竞赛编程和算法问题解决而设计的在线裁判系统。
Putong OJ is an online judge system designed for competitive programming and algorithmic problem-solving. A live instance is available at acm.cjlu.edu.cn.
[!IMPORTANT]
The development of Putong OJ is closely tailored to the practical needs of the ACM Lab at CJLU, incorporating numerous customized features.
If you wish to deploy your own instance, we recommend forking the repository and modifying the code according to your requirements. Currently, Putong OJ does not support configuration options for these customized features.
[!CAUTION]
The current branch may contain untested changes after dependency upgrades and a project structure refactor. For production use, we strongly recommend using the last stable version: backend at commit
6c7b68cand frontend at commitce13bf1.Some features might be unstable until comprehensive testing is completed. Proceed with caution when deploying this version.
Before proceeding, ensure that you have the following installed:
Run the following command to build the Docker image:
docker build -t ptoj-app .Replace and with your actual database connection URLs:
docker run -d --name ptoj-app \
-p 3000:3000 \
-e NODE_ENV=production \
-e PTOJ_MONGODB_URL= \
-e PTOJ_REDIS_URL= \
ptoj-appThis will start the application on port 3000.
To retain data across container restarts, mount the following volumes:
/app/data
/app/logs
/app/public/uploadsTo configure the judging system, refer to ptoj-judger.
This project is licensed under the MIT License. See the LICENSE file for more details.
暂无开放 Issues,或尚未同步最近议题。