2016-05-15 226 views
0

我想将保存在专用Bitbucket存储库中的express nodejs应用程序部署到heroku。我已经将代码推送到bitbucket私人回购站。部署应用程序

我已经在heroku界面中搜索了bitbucket连接选项,可以让我自动部署推送的代码,但是我只能找到Github连接选项。

我是web dev的新手,所以这个问题可能很原始。

+2

([使用上GIT中到位桶部署到的Heroku]的可能的复制http://stackoverflow.com/questions/13240227/deploying-to-heroku-using -git-on-bitbucket) – Gntem

回答

0

为什么不只推送到heroku,这是我在CMD做的。

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

更多detail

即使more

+0

如果您不想创建新应用程序,则可能需要添加远程程序。 –