slick.dbs.heroku.driver="slick.driver.PostgresDriver$"
slick.dbs.heroku.db.driver=org.postgresql.Driver
slick.dbs.heroku.db.url="someurl"
What's the exception you are getting?
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/7c31b474-2030-476a-b6b5-2d5e3bfe8737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
play { crypto.secret = "..." i18n.langs = [ "en" ] evolutions { enabled = true autocommit = false } http.filters = "filters.Filters" modules.enabled += "config.RepositoryModule" modules.enabled += "config.ServiceModule" modules.enabled += "config.QueryModule" modules.enabled += "config.SilhouetteModule" modules.enabled += "config.ControllerModule" modules.enabled += "config.BootstrapModule"}slick.dbs { default { driver = "slick.driver.PostgresDriver$" db { driver = "org.postgresql.Driver" url = "jdbc:postgresql://localhost:5432/mydb" user="postgres" password="..." } }}
silhouette = { include "silhouette.conf" }
name := "myapp"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( cache, ws, filters, specs2 % Test)
libraryDependencies ++= Seq( "com.typesafe.slick" %% "slick" % "3.0.0", "com.typesafe.slick" %% "slick-codegen" % "3.0.0", "com.typesafe.play" %% "play-slick" % "1.0.0", "com.typesafe.play" %% "play-slick-evolutions" % "1.0.0", "org.postgresql" % "postgresql" % "9.4-1201-jdbc41", "com.mohiva" %% "play-silhouette" % "3.0.0-RC1", "net.codingwell" %% "scala-guice" % "4.0.0")
resolvers += "Atlassian Releases" at "https://maven.atlassian.com/public/"resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
// Play provides two styles of routers, one expects its actions to be injected, the// other, legacy style, accesses its actions statically.routesGenerator := InjectedRoutesGeneratorTo view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/79c52bb6-1a7f-480a-936a-3f2da572ba08%40googlegroups.com.
sbt run# Database configuration
# ~~~~~
slick.dbs.default.driver="slick.driver.PostgresDriver$"
slick.dbs.default.db.driver="org.postgresql.Driver"
slick.dbs.default.db.url=
slick.dbs.default.db.user=
slick.dbs.default.db.password=
# Evolutions
# ~~~~~
play.evolutions.db.default.enabled=true
Enter code here...To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/b7ceee82-802b-44cd-ac3e-bdddbbe81960%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<test-app.zip>
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/31E66A21-5D27-421B-99EE-807F5A3E6F4D%40typesafe.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/919dca16-c5d1-43da-93be-bd4d125226e6%40googlegroups.com.
db.default.driver=org.h2.Driver
db.default.url="jdbc:h2:mem:play"
db.default.username=sa
db.default.password=""
and 1.sql as the 2.4 docs outline:# Users schema
# --- !Ups
CREATE TABLE User (
id bigint(20) NOT NULL AUTO_INCREMENT,
email varchar(255) NOT NULL,
password varchar(255) NOT NULL,
fullname varchar(255) NOT NULL,
isAdmin boolean NOT NULL,
PRIMARY KEY (id)
);
# --- !Downs
~/Documents/play_sandbox/scalastore/conf/evolutions/default/1.sql
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/486f13d1-9dd0-49a0-848b-2dc1c5a186d1%40googlegroups.com.