Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Backend for the CECTF

Project description

# cectf-server

[![Build Status](](

You need Python 3 and pip installed to set up this project.

Navigate to the project repository and run ./ This will set up the python virtual environment and install the python dependencies.

You will need to install MariaDB ( and have it running on localhost. For testing purposes, the user travis with no password needs to be created (CREATE USER ‘travis’@’localhost’ IDENTIFIED BY ‘’;)

Run to set up the test database with dummy data. Right now this provisions a user a with password b, and an admin user abc with password 123. You will need to use these credentials to log in to the app.

Run to launch the Flask server. It is configured to run the server on by default.

Configuration can be done by adding variables to instance/

For testing, first do pip install pytest coverage. Run pip install -e . to install the project in the local virtual environment (the -e ensures that it is updated as the project is modified). Run pytest to run all tests. Run coverage run -m pytest to generate a code coverage report. Run coverage report to get the report in the command line, or run coverage html to generate an interactive HTML page in htmlcov/index.html.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cectf-server, version 1.0.13
Filename, size File type Python version Upload date Hashes
Filename, size cectf-server-1.0.13.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page