platform for awd
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
check_server
flag_server
web_beego
web_cliphp
web_flaskbb
web_hxb2
web_nodecms
web_phpmyadmin
web_qwb
web_server
web_tpshop
web_typecho
web_yunnan_1
web_yunnan_2
web_yunnan_simple
web_yunsi_week2
writes_up
.gitignore
AWD线下环境手册.md
batch.py
docker_batch.sh
example
flag.py
nohup.out
pass.txt
readme.md
start.py
stop_clean.py
比赛入口服务器.png

readme.md

#awd-platfrom

this is a project to set up your awd environment(web challenges only) quickly, all of the gameboxes are docker-based, and the score board is terminal based.

usage: you need to copy your challenge for each team within the batch.py, for example: [python batch.py web_server 4], this command will copy the web_server directory to 4 folders, and creates the docker.sh as well as the run.sh for each folder. then to start all docker, just run [python start.py 4], this command will create totally 6 dockers, one for checker_server, one for flag_server, and 4 gameboxes. to clean up all dockers, just run [python stop_clean.py], it will stop all dockers, and clear all dockes for you. the scores of each team can be viewed in the output of check.py of the checker.

enjoy it!