Skip to content

CTFd deployment code repository for Valencia College CyNET

License

Notifications You must be signed in to change notification settings

asif-uz-zaman/CTFd

 
 

Repository files navigation

Run CTFd on Ubuntu 20.04

This repo will let you run CTFs on Ubuntu 20.04. You will also be able to run CTFd as a secure (HTTPS) site.

Prep

  1. Run the docker_ubuntu.sh script in this repo: sudo ./docker_ubuntu.sh

  2. Run the docker_compose_ubuntu.sh script in this repo: sudo ./docker_compose_ubuntu.sh

  3. To generate your Public-Private Key Pair, run the generate_crt.sh script in this repo: sudo ./generate_crt.sh

  4. Edit the hostname line in the docker-compose-production.yml file to match the hostname you have defined to point to your server. For example, if your server name is myctf.com, then change the hostname line in the docker-compose-production.yml file to myctf.com.

Run the CTFd environment

In the terminal, run sudo docker-compose -f docker-compose.yml -f docker-compose-production.yml up.

Credits

About

CTFd deployment code repository for Valencia College CyNET

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 57.2%
  • JavaScript 24.1%
  • HTML 13.3%
  • Vue 3.7%
  • SCSS 1.3%
  • Shell 0.3%
  • Other 0.1%