Host CTF
Prerequisites
Clone CTFd and setup the docker compose service.
Open the dashboard and setup an admin account. Generate the admin token.
Install ctfcli
Add Challenges
Using UCSB iCTF public challenges as an example:
mkdir ictf23-instance
cd ictf23-instance
ctf init
git submodule add https://github.com/shellphish/ictf23-challenges-public
Then, for each sub-directory in the challenge suites, use ctf challenge install <path/to/dir> and then ctf challenge deploy <path/to/dir>.