Skip to content

chienkira/rails-full-stack-template

Repository files navigation

rails-full-stack-template

Versions

  • Ruby 2.6
  • Rails 6

Features

Rails app

  • Rubocop (Code formatter/checker)
  • Rspec (Test)
  • Local development with Docker
  • Sidekiq (Background job processing)
  • Encrypted dotenv file with dotenv_sekrets
  • Parsable log with lograge
  • Error tracking with sentry
  • And many tweaks (Enumerize, Meta-tags, Bullet, Awesome-print...)

Devops

How to

About local development env

$ docker-compose build  # to build images at the first time
$ docker/start          # to start local development env
$ docker/stop           # to stop local development env
$ docker/sidekiq        # to start sidekiq (async job)
$ docker/bash           # to start new bash session

Notices

  • Need to run docker-compose run --rm web yarn install --check-files to make yarn and webpack work for the first time