简体   繁体   English

部署应用

[英]Deploying applications

I want to deploy my express nodejs app stored in a private Bitbucket repository to heroku. 我想将存储在私有Bitbucket存储库中的express nodejs应用程序部署到heroku。 I have already pushed the code to the bitbucket private repo. 我已经将代码推送到bitbucket专用存储库中。

I have searched in the heroku interface for the bitbucket connection option that would let me automatically deploy the pushed code, however I could only find Github connection option. 我在heroku界面中搜索了bitbucket连接选项,该选项可以让我自动部署推送的代码,但是我只能找到Github连接选项。

I am newbie in web dev, so this question might be very primitive. 我是Web开发人员的新手,所以这个问题可能非常原始。

Why not only push to heroku, here is what I'm doing in CMD. 为什么不仅要推送到heroku,这就是我在CMD中所做的事情。

git add .
git commit -m -a
heroku login
heroku create
git push heroku master

More detail 更多细节

Even more 甚至更多

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM