How

rails new myapp --database=postgresql -T -m ~/Projects/dkdh-template/template.rb