gpt4 book ai didi

OpenShift Play 应用部署

转载 作者:行者123 更新时间:2023-12-02 05:45:29 26 4
gpt4 key购买 nike

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

https://github.com/opensas/play2-openshift-quickstart

当我尝试将我的源上传到 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

为什么没有target/start目录?有什么想法吗?

最佳答案

阶段任务已在 Play 2.2 中重写:

https://www.playframework.com/documentation/2.2.0/Migration22 (准备分发)

请使用这个而不是提到的 repo:

https://github.com/JamesSullivan/play2-openshift-quickstart

关于OpenShift Play 应用部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22395420/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com