rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
-d postgresqlsets up the project to use PostgreSQL--skip-turbolinks&--skip-springcreates a project that does not use turbolinks or spring-Tskips the creation of the test directory and use ofTest::Unit- Optional:
--apiwill create a stripped-down Rails application with a smaller set of middleware. It will also configure the generators to skip theviews/helpers/assetsand change the parent forApplicationControllerfromActionController::BasetoActionController::API
- In the Gemfile: