My default configuration for rails apps
Used 21 times
J
Javier Lafora
Usage
rails new your_project -m https://railsbytes.com/script/XvEs7a
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://www.railsbytes.com/script/XvEs7a"
Template Source
Review the code before running this template on your machine.
after_bundle do
git :init
git add: "."
git commit: %Q{ -m 'Initial commit' }
# Adds docker-compose.yml for development
# https://railsbytes.com/templates/VdrsD5
run "rails app:template LOCATION='https://railsbytes.com/script/VdrsD5'"
# Adds solargraph
# https://railsbytes.com/public/templates/VWesNr
run "rails app:template LOCATION='https://railsbytes.com/script/VWesNr'"
# Adds yard
# https://railsbytes.com/public/templates/zl0sg1
run "rails app:template LOCATION='https://railsbytes.com/script/zl0sg1'"
# Adds i18n-tasks
# https://railsbytes.com/public/templates/VeKsKZ
run "rails app:template LOCATION='https://railsbytes.com/script/VeKsKZ'"
# Adds annotate
# https://railsbytes.com/public/templates/VD7s0l
run "rails app:template LOCATION='https://railsbytes.com/script/VD7s0l'"
# Adds bundler audit
# https://railsbytes.com/templates/VZgsGN
run "rails app:template LOCATION='https://railsbytes.com/script/VZgsGN'"
# Adds rubocop
# https://railsbytes.com/templates/Vp7spq
run "rails app:template LOCATION='https://railsbytes.com/script/Vp7spq'"
# Adds brakeman
# https://railsbytes.com/templates/zams73
run "rails app:template LOCATION='https://railsbytes.com/script/zams73'"
# Adds overcommit
# https://railsbytes.com/templates/V1bs7E
run "rails app:template LOCATION='https://railsbytes.com/script/V1bs7E'"
end