playframework/playframework — pull request #1987 by jroper (2013-11-29 05:54:32+00:00)
Title: Please, review first app (todolist) documentation when deploy to heroku

Hi guys

I want to propose some changes in documentation after try the first app tutorial (http://www.playframework.com/documentation/2.2.x/JavaTodoList)

The problems appeared to my when I tried to deploy in heroku

- It's not clear how Build.scala looks. Based in documentation it seams that it exists, but following the tutorial, we have not created this file before, more over, investigationg on Play documentation talks about wrong (or old) instructions, For me this code is running

import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

val appName = "todolist"
val appVersion = "1.0-SNAPSHOT"

val appDependencies = Seq(
// Add your project dependencies here,
javaCore,
javaJdbc,
javaEbean,
"postgresql" % "postgresql" % "9.1-901.jdbc4"
)

val main = play.Project(appName, appVersion, appDependencies).settings(
// Add your own project settings here
)

}

(For example, your documentation talks about playProject object, but it fails to compile

Another thing is postgres configuration. After googling a little I saw that I had to delete db password and user in application.conf because if not heroku starting project.

It's a quick highlight. I wish this help