- Git
- Ruby 3.0.0 with RubyGems
# Install gems
bundle install
# Start local rails server
rails server
This repository uses the pre-commit tool to facilitate some automatic code corrections.
Before beginning coding, install pre-commit and setup the hook:
# Install git hook
pre-commit install
# Manually run pre-commit
pre-commit run --all-files
# Lint and check style of code
rubocop
# Run unit tests
rails spec
# Check database consistency
database_consistency