This repository has the following with default values:
-
Ruby 3.0.0-v3
-
Rails 6.1
Remember to create your master key:
bundle exec rails credentials:edit
With security checks:
And best practices:
To use the tools:
A static analysis security vulnerability scanner for Ruby on Rails applications.
bundle exec brakeman
Patch-level verification for bundler.
bundle exec bundle-audit check --update
a code metric tool for rails projects.
bundle exec rails_best_practices
A Ruby static code analyzer and formatter, based on the community Ruby style guide.
bundle exec rubocop
For further configurations, go check the respective repository.
The database is PostgreSQL 12.1 and you have to change the database details at config/database.yml
if any changes required.
Now this comes with CircleCI configuration to build and test your code. Look at .circleci/config.yml
and change if required. It still can't run the tools off a docker image yet.
Now this comes with Code Climate configuration to build and test your code. Look at .codeclimate.yml
and change if required. Add project repo to Code Climate.