Skip to content

Dainii/dmarclean

Repository files navigation

DmarClean Rails codecov

DmarClean is a rails based application to analyze and display result of various dmarc report.

Install

Clone the repository

git clone https://github.com/Dainii/dmarclean.git
cd dmarclean

Check your Ruby version

ruby -v

The ouput should start with something like ruby 3.3.0

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 3.3.0

Install dependencies

Using Bundler, install the dependencies:

bundle install

Set environment variables

Copy .env.erb to .env.

  • Set the Database related variables
  • Generate the Active Record encryption keys with bundle exec rails db:encryption:init

Initialize the database

Create the Database

bundle exec rails db:create

Load the schema (first time only)

bundle exec rails db:schema:load

Apply migrations

bundle exec rails db:migrate db:seed

Load seeds

bundle exec rails db:seed

Reset the database (drop + load schema + seed)

bundle exec rails db:reset

Start application

This will start the web server, the worker and Tailwind app. Details are defined in the Procfile.dev file

./bin/dev

About

dmarc report analyzer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages