git clone --recurse-submodules https://github.com/Normal-OJ/Normal-OJ.gitcd Normal-OJgit submodule foreach --recursive git checkout master
For example, if you want to push Normal-OJ/Back-End:
cd Back-Endgit 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_dirto your desired location
- cd to
Sandboxfolder, run./build.sh, this will build the images you need to compile and execute user's submission - that's all :P, i think