Install your own CTFd and Deploy you own CTFd in a few easy steps
Download CTFd ZIP from:
https://github.com/CTFd/CTFd/archive/refs/heads/master.zip
Or use GIT command
git clone https://github.com/CTFd/CTFd.git
If Docker and Docker-Compose and PIP isn't installed on you Linux system use the following commands:
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install -y pip docker docker-compose
sudo apt update
sudo apt upgrade
sudo apt install docker
sudo apt install docker compose
sudo install pip
Go to folder where you see requirements.txt download then run command below to install dependencies:
pip install -r requirements.txt
You can also use the prepare.sh script to install system dependencies using apt.
You can use the auto-generated Docker images with the following command:
sudo docker run -p 8000:8000 -it ctfd/ctfd
Or you can use Docker Compose with the following command from the source repository:
sudo docker-compose up
Check out the CTFd docs for deployment options and the Getting Started guide