[英]Running web-application on Heroku
When I'm trying to run my Play! 当我尝试运行Play时! application on Herocu I have a message that I should run it with "play -DapplyEvolutions.default=true" command.
Herocu上的应用程序,我收到一条消息,应该使用“ play -DapplyEvolutions.default = true”命令运行它。 But how can I do it?
但是我该怎么办呢?
Now what I'm doing is pushing to my webapp to heroku and operate with commands: "heroku ps" and "heroku logs". 现在,我正在将Webapp推送到heroku并使用以下命令进行操作:“ heroku ps”和“ heroku日志”。 The last one gives me error details.
最后一个给我错误的详细信息。 How can I run application on heroku remotely?
如何在heroku上远程运行应用程序?
Is this Play 2? 这是Play 2吗? If so you will need a
Procfile
containing: 如果是这样,您将需要一个包含以下内容的
Procfile
:
web: target/start -Dhttp.port=$PORT -DapplyEvolutions.default=true -Ddb.default.driver=org.postgresql.Driver -Ddb.default.url=$DATABASE_URL
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.