Last active
November 19, 2017 01:20
-
-
Save tatethurston/e5b0ff68a4f3358912ebba46c0b98a13 to your computer and use it in GitHub Desktop.
Rails 5 API setup
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
NAME='' | |
rails new $NAME \ | |
--api \ | |
--database=postgresql \ | |
--skip-action-cable | |
cd $NAME | |
rm -rf \ | |
app/views/ \ | |
app/{controllers,models}/concerns/ \ | |
test/fixtures/ \ | |
vendor/ \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment