CTFDashB is a Capture The Flag dashboard.
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.
git clone git@github.com:Abdulwahaab710/CTFDashB.git
.env
, by running the following script./generate-env
docker-compose build
docker-compose run web rake db:create db:migrate db:seed
docker-compose up -d
To run the app in development mode, you will need to set the RAILS_ENV
to development
, or you can run the following script to generate your env with the correct environment
RAILS_ENV=development ./generate-env
To run tests
docker-compose run web bundle exec rspec
docker-compose run web bundle exec rubocop
To auto fix the violiation for rubocop
docker-compose run web bundle exec rubocop -a
This project is licensed under the MIT License - see the LICENSE.md file for details