Whenever you want to create a new project, just do:
rails new app_name -d postgresql -S -T -m https://github.com/dcrec1/rails6_template/raw/master/template.rb
Change app_name for your project name. You can configure what you need and run rake db:migrate to get started.