Skip to content

Instantly share code, notes, and snippets.

@amingilani
Last active September 9, 2019 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amingilani/f3263d9b540fec12f54555b3dc96e38d to your computer and use it in GitHub Desktop.
Save amingilani/f3263d9b540fec12f54555b3dc96e38d to your computer and use it in GitHub Desktop.
My personal command to create new Ruby on Rails apps
# 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