OpenShift播放应用程序部署

OpenShift播放应用程序部署,openshift,playframework-2.2,Openshift,Playframework 2.2,我只是按照以下Github repo中提到的步骤将Play应用程序部署到OpshShift: 当我尝试将源文件上载到OpenShift时,出现以下错误: remote: Stopping DIY cartridge remote: Building git ref 'master', commit 54b44ff remote: Preparing build for deployment remote: Deployment id is 9379deb4 remote: Activating

我只是按照以下Github repo中提到的步骤将Play应用程序部署到OpshShift:

当我尝试将源文件上载到OpenShift时,出现以下错误:

remote: Stopping DIY cartridge
remote: Building git ref 'master', commit 54b44ff
remote: Preparing build for deployment
remote: Deployment id is 9379deb4
remote: Activating deployment
remote: Starting DIY cartridge
remote: chmod: cannot access `/var/lib/openshift/XXXXXXXXXX/app-root/runtime/repo/target/start': No such file or directory
remote: -------------------------
remote: Git Post-Receive Result: success
remote: Activation status: success
remote: Deployment completed with status: success

为什么没有目标/开始目录?有什么想法吗?

舞台任务已在剧本2.2中重写:

(准备分发)

请使用以下方式代替上述回购:


如果您使用的是play framework 2.2+,则必须将openshift APP_命令更改为从target/universal/bin/{your APP name}开始,而不是从target/start开始。 您可以在.openshift/action\u hooks/start文件中对此进行修改