davetron5000 / rails-app-template-sustainable

A Rails App Template that creates a new Rails app according to the sustainable rails book
27 stars 3 forks source link

rails-app-template-sustainable

This is a Rails Application Template that will create a Rails app set up similarly to the one outlined in Sustainable Web Development with Ruby on Rails.

This is for Rails 6.1 only!

To use

From The Internets

bin/rails new my-app \
    --skip-bundle \
    --skip-turbolinks \
    --skip-spring \
    --skip-listen \
    --database=postgresql \
    --template=https://raw.githubusercontent.com/davetron5000/rails-app-template-sustainable/main/template.rb

Locally

git clone https://github.com/davetron5000/rails-app-template-sustainable
rails new my-app \
      --rc=rails-app-template-sustainable/.railsrc \
      --template=rails-app-template-sustainable/template.rb

What you get

In particular:

FAQ

Literally no one has asked me questions, but here are a few