git clone --recurse-submodules https://github.com/Normal-OJ/Normal-OJ.git
cd Normal-OJ
git submodule foreach --recursive git checkout master
For example, if you want to push Normal-OJ/Back-End
:
cd Back-End
git push
Pull all:
git submodule foreach --recursive git pull
docker-compose up -d
or if you want to rebuild the images
docker-compose up --build -d
docker-compose start
docker-compose restart [service]
docker-compose stop
docker-compose down
- in
.config/submission.json
:
- set
working_dir
to your desired location
- cd to
Sandbox
folder, run./build.sh
, this will build the images you need to compile and execute user's submission - that's all :P, i think