- Notifications
You must be signed in to change notification settings - Fork6
Aims to build high-performance & easy-peasy online-judge system
License
oj-lab/platform
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Central service for OJ Lab, supporting distributed deployment.
🌟 Accept VSCode extension recommandation for complete experience.
OJ Lab Platform depends on several foundational services, including:
- PostgreSQL (or other SQL database in the future) for data storage
- Redis for caching & session management
- MinIO (or other S3 like storage) for file storage
- ClickHouse for analytics (currently not developed)
- Judger for judging
This project provides a Makefile to help you quickly set up dependencies & other optional choices.Runmake setup-dependencies
to start these services and load the initial data.
Launch the programs with VSCode launch configurations is the most recommended way.It will automatically set the environment and run the program in debug mode.
There is ajudger
service in the project'sdocker-compose.yml
.It won't start from themake setup-dependencies
command by default(since it takes time to let MinIO & PostgreSQL start up).
Rundocker compose up -d judger
to start the judger service.
We provideadminer
to access PostgreSQL data.You can optionally rundocker compose up -d adminer
to start the service,or just continue to use your own database management tool.
Remember to set the type of the database to
PostgreSQL
when login to adminer.
go bin not included in PATH
# You should change .zshrc to .bashrc if you are using bashecho'export PATH=$PATH:$(go env GOPATH)/bin'>>~/.zshrc
About
Aims to build high-performance & easy-peasy online-judge system