From 4c709046fe329113113b15de62a181cfc8fa5c13 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 1 Feb 2015 00:48:17 +0100 Subject: Add model code generator --- conf/application.conf | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'conf') diff --git a/conf/application.conf b/conf/application.conf index 1db3b0e..72c25b7 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -9,6 +9,7 @@ # # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details. application.secret="e@_?aqO:dGjH9LfXK?T;V`Pb9K?S22igdQVvgN?b?vnb[UkXbORmWO`O9>mWabI5" +application.secret=${?APP_SECRET} # The application languages # ~~~~~ @@ -36,15 +37,22 @@ application.langs="en" # You can declare as many datasources as you want. # By convention, the default datasource is named `default` # -# db.default.driver=org.h2.Driver -# db.default.url="jdbc:h2:mem:play" +db.default.driver=org.postgresql.Driver +db.default.driver=${?DATABASE_DRIVER} +db.default.url="jdbc:postgresql://localhost/minibay_dev" +db.default.url=${?DATABASE_URL} # db.default.user=sa # db.default.password="" +slick.default="models.*" +slick.profile="scala.slick.driver.PostgresDriver" +slick.profile=${?SLICK_PROFILE} + # Evolutions # ~~~~~ # You can disable evolutions if needed -# evolutionplugin=disabled +evolutionplugin=disabled +# applyEvolutions.default=true # Logger # ~~~~~ -- cgit v1.2.3