从git repo的子目录部署Heroku上的Play应用程序 [英] Deploy Play app on Heroku from a subdirectory of git repo
本文介绍了从git repo的子目录部署Heroku上的Play应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用 git push heroku master
在Heroku上部署Play 2.0.4应用程序,但是我已将播放根文件夹移动到我的git repo的子文件夹中。有没有办法从那里部署?
目前,它将我的项目误认为1.2.4 Play应用程序,然后编译和部署失败。
----->玩!应用程式检测到
----->警告:玩!版本未在dependencies.yml中指定。默认版本:1.2.4正在使用....
----->安装播放! 1.2.4 .....
----->完成
----->安装ivysettings.xml ..... done
----->大厦玩!应用程序...
解决方案
安装此git插件。 p>
https://github.com/apenwarr/git-子树
运行git subtree push --prefix **子文件夹与appheroku master
I want to deploy a Play 2.0.4 app on Heroku using git push heroku master
but I have moved the play root folder into a sub folder of my git repo. Is there a way to deploy from there?
Currently it misidentifies my project as a 1.2.4 Play app, then the compilation and the deployment fails.
-----> Play! app detected
-----> WARNING: Play! version not specified in dependencies.yml. Default version: 1.2.4 being used....
-----> Installing Play! 1.2.4.....
-----> done
-----> Installing ivysettings.xml..... done
-----> Building Play! application...
解决方案
Install this git plugin.
https://github.com/apenwarr/git-subtree
Run "git subtree push --prefix **subfolder with app" heroku master"
这篇关于从git repo的子目录部署Heroku上的Play应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文