Permalink
Browse files

changing config to apply db evolutions in prod

  • Loading branch information...
1 parent 066523b commit e2e85b8ddfcff858b93753f33b4927a63ffbc4e6 @retroryan retroryan committed Jan 31, 2012
Showing with 5 additions and 6 deletions.
  1. +2 −1 conf/application.conf
  2. +1 −1 project/Build.scala
  3. +2 −4 project/plugins.sbt
@@ -21,10 +21,11 @@ db.default.driver=org.postgresql.Driver
#for an in-memory database set this to --- jdbc:h2:mem:play
#for postgresql database set this to --- jdbc:postgresql://localhost:5432/postgres?user=postgres&password=oracle
-db.default.url=${MY_DATABASE_URL}
+db.default.url=${DATABASE_URL}
applyEvolutions.default=true
+
# Ebean configuration
# ~~~~~
# You can declare as many Ebean servers as you want.
View
@@ -18,7 +18,7 @@ object ApplicationBuild extends Build {
val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
// Add your own project settings here
resolvers ++= Seq(DefaultMavenRepository,
- Resolver.url("Play", url("http://playrepository.s3-website-us-east-1.amazonaws.com/repository/local/"))
+ Resolver.url("Play", url("https://playframework2.ci.cloudbees.com/job/play2-integrationtest/ws/repository/local/"))
(Resolver.ivyStylePatterns), "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/")
)
View
@@ -2,11 +2,9 @@ logLevel := Level.Warn
resolvers ++= Seq(
DefaultMavenRepository,
- Resolver.url("Play", url("http://playrepository.s3-website-us-east-1.amazonaws.com/repository/local/"))(Resolver.ivyStylePatterns),
- "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" ,
- "typesafe-ivy-releases" at "http://repo.typesafe.com/typesafe/ivy-releases/"
+ Resolver.url("Play", url("https://playframework2.ci.cloudbees.com/job/play2-integrationtest/ws/repository/local/"))
+ (Resolver.ivyStylePatterns), "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)
addSbtPlugin("play" % "sbt-plugin" % "2.0-RC1-SNAPSHOT")
-
addSbtPlugin("com.typesafe.startscript" % "xsbt-start-script-plugin" % "0.5.0")

0 comments on commit e2e85b8

Please sign in to comment.