Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 911 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 911 Bytes

Dockerized Rails bootstrapping script

This script handles bootstrapping of a Dockerized Rails app which ticks all the usual MHS boxes. In particular it:

  • creates a new directory to house the application
  • creates a dockerized rails app with that name in that directory
  • installs and configures several "must-have" gems
  • revises the default Rails setup script to work with the Dockerized environment
  • sets up a CI Action using GitHub Actions
  • adds files to support Heroku review apps
  • pushes an upstream "main" branch to GitHub with a single commit containing the bootstrapped application

To run this script simply enter the following (or an equivalent) into your shell:

bash <(curl -s https://raw.githubusercontent.com/mhs/docker-rails-bootstrapper/main/bootstrap.sh)

NOTE: this script requires input - you must ensure your keyboard input is connected to STDIN for this to work correctly!