Last active
May 26, 2016 06:24
-
-
Save orangeeli/3fe37d844fbf34bcee261daadd2074ec to your computer and use it in GitHub Desktop.
Starting a rails 5 api app
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
#!/bin/bash | |
# --api: flag to create an api only rails app | |
# --skip-active-record: Removes active record support | |
# --skip-sprockets: Removes Asset compilation support http://guides.rubyonrails.org/asset_pipeline.html | |
rails new api-example --api --skip-active-record --skip-sprockets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment