Judge core based on Celery and Docker.
- GNU G++17
- Clang 6.0.0
- GNU GCC 7.3
- Python 3.6.5
- Java 10(OpenJDK Runtime Environment (build 10.0.1+10-Debian-4)
- Go 1.10.2
- Ruby 2.5.1
- Rust 1.25.0
Use Linux Control Groups limit the run-time resrouce
New Language Support
- Javascript
- Matlab
-
Install submodule
git submodule init git submodule update
-
Install
docker-ce
-
Install requirements
pip3 install -r requirements/requirements.txt
-
Install judger's image
cd deploy && python3 deploy.py
-
Build checker from testlib and compile core
python3 build.py
-
Install rabbitmq-server
sudo apt-get update sudo apt-get install rabbitmq-server sudo systemctl enable rabbitmq-server sudo systemctl start rabbitmq-server sudo systemctl status rabbitmq-server
-
Edit
util/settings.py
cp util/settings.py.template util/settings.py FETCH_DATA_ADDR = Lutece.address FETCH_DATA_AUTHKEY = Lutece.data_server.authkey ! You may pay attention to http or https
-
Edit
settings.py
cp settings.py.template settings.py
-
Edit
celeryconfig.py
cp celeryconfig.py.template celeryconfig.py worker_concurrency = the number of worker process rabbitmq_ip = Lutece.address rabbitmq_pwd = Lutece.rabbitmq.judge_user.password
sh run_worker.sh