rails new <APP_NAME> --database=postgresql --skip-yarn --skip-active-storage --skip-puma --skip-action-cable --skip-spring --skip-listen --skip-coffee --skip-turbolinks --skip-test --skip-system-test --skip-bootsnap --no-rc
Note:
- skip and other options found from
rails new --help
Note: if you want to create a new project in existing folder