Created
March 27, 2021 22:28
-
-
Save IvanDerlich/a5a3973ec446cdac3cbef40520bf677c to your computer and use it in GitHub Desktop.
Initializing Rails API command
This file contains hidden or 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
$ rails new court-reservation --api -T --no-sprockets -d postgresql | |
--api -> No views and other config related with the default way of creating apps. | |
-T -> No test. This is useful for using Rspec. | |
--no-sprockets -> Something related with the asset pipeline of Rails. | |
-d postgresql -> Use postgresql database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment