Versions:
- Ruby 3.3.1
- Rails 8.0.0
Requirements:
- Redis 6.2+
- Node (yarn)
Easy setup:
bin/setupSeed the database:
bin/rails db:seedNote: Running seeds sends requests to ComicVine servers to import comics and issues. You will need an internet connection and an API key.
Run the dev server:
bin/devAll new code should be thoroughly tested. Kaboom uses RSpec as its testing framework.
To run all tests:
bundle exec rspecWhile writing tests, you may find it useful for them to run when saving files. To do this, run:
bundle exec guardKaboom uses standardrb (.rb) and eslint (.js, .ts) for linting. CI will fail if linting isn't correct.
To fix all fixable linting issues:
bundle exec standardrb --fixLint ERB files:
bundle exec erblint --cache --lint-allLint all Javascript/Typescript files:
yarn lint:js --fix