My personal command to create new Ruby on Rails apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default | |
echo 'Type the name of your app' && \ | |
read appname && \ | |
rails new $appname \ | |
--database=postgresql `# My database choice` \ | |
--skip-turbolinks `# Who the hell uses these` \ | |
--skip-test `# I like to use Rspec` \ | |
--webpack=react | |
# MiniTest is fine | |
echo 'Type the name of your app' && \ | |
read appname && \ | |
rails new $appname \ | |
--database=postgresql `# My database choice` \ | |
--skip-turbolinks `# Who the hell uses these` \ | |
--webpack=react | |
# if you're at a hackathon | |
echo 'Type the name of your app' && \ | |
read appname && \ | |
rails new $appname \ | |
--database=postgresql `# My database choice` \ | |
--webpack=react |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment