Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (58 sloc) 2.24 KB


Build Status Dependabot Status codecov GitHub tag (latest by date)

CTFDashB is a Capture The Flag dashboard.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


Before we start you will need to have docker and docker-compose installed. You can download Docker Community Edition (CE) from here, which includes docker-compose.


  1. Clone the git repo
git clone
  1. cd into the folder and create a dotenv file, like the following
# CTFDashB/.env
DATABASE_PASSWORD=S0ME_RANDOM_PASSWORD # you can use ruby generate the password ruby -e "require 'securerandom'; puts SecureRandom.hex()

if this is for production, you will have to set the RAILS_ENV to be like the following

# CTFDashB/.env
  1. Build the containers
docker-compose build
  1. Create the database, run Migration and seed the database
docker-compose run web rake db:create db:migrate db:seed
  1. Run the application
docker-compose up

Running the tests

To run tests

docker-compose run web bundle exec rspec

And coding style (rubocop)

docker-compose run web bundle exec rubocop

To auto fix the violiation for rubocop

docker-compose run web bundle exec rubocop


Add additional notes about how to deploy this on a live system


This project is licensed under the MIT License - see the file for details

You can’t perform that action at this time.