Home

Awesome

rails-template

Description

rails template for kubernetes deployment

see generated sample

Requirements

Installation

To generate a Rails application using this template, pass the -m option to rails new, like this:

$ rails new project -T -d postgresql --css tailwind \
    -m https://raw.githubusercontent.com/astrocket/rails-template/master/template.rb

What's included?

Foreman start task

Procfile based applications

with foreman start

It runs

Stimulus.js generator

Stimulus specific generator task.

with rails g stimulus posts index

It generates

Kubernetes & Docker

With kubernetes you can manage multiple containers with simple yaml files.

Template contains

Testing

rspec-rails

factory-bot

Run test specs

bundle exec rspec