Pay2Mail is a system developed to prioritize emails with payments and generating an pre-sorted inbox for recipients.
ruby = 3.0.2
rails >= 7.0.3.1
sqlite ~> 1.4
node = 18.8.0
yarn = 1.22.19
git clone git@github.com:astrutz/masterthesis.git
cd project
ruby -v
The output should start with something like ruby 3.0.2
If not, install the right ruby version using rbenv (it could take a while):
rbenv install 3.0.2
rails db:create db:migrate db:seed
rails s
Unit tests for models are implemented under /test/models
and integration tests are implemented under test/controllers/
. To run these tests:
rails t
Two workflows are triggered every time there is a push or pull request on master
. CodeQL runs an analysis checking for potential security or performance problems. Ruby on Rails CI runs the test suite and uses rubocop
to detect code quality problems.
This project is hosted via DigitalOcean App Platform. Every push on master
triggers a new deployment, which is deployed to pay2mail.org. Furthermore every push on prototype
triggers a new deployment, which is deployed to proto.pay2mail.org.