Skip to content

SiliconJungles/rubyonrails-template

Repository files navigation

README

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:

brakeman

A static analysis security vulnerability scanner for Ruby on Rails applications.

bundle exec brakeman

bundler-audit

Patch-level verification for bundler.

bundle exec bundle-audit check --update

rails_best_practices

a code metric tool for rails projects.

bundle exec rails_best_practices

rubocop

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.

Database

The database is PostgreSQL 12.1 and you have to change the database details at config/database.yml if any changes required.

CircleCI

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.

Code Climate

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.

About

Ruby on Rails template with automatic security in place

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published