开发者

commit to heroku Git, but no changes in myapp.heroku.com

In the facefancheck directory,

>git add .
>git commit -m "facefancheck"
>git push heroku

In a random directory,

>git clone git@heroku.com:facef开发者_运维技巧ancheck.git
>cd facefancheck
>rails s

I get the thing I want in 127.0.0.1:3000, but not in facefancheck.heroku.com. So, why facefancheck.heroku.com did not run the same as git@heroku.com:facefancheck.git? Did I not update the heroku correctly from Git? Or?


Ohh, I solved it already. It is because I renamed in the web, but didn't update the local Git. So, I have to rename the name to fancheck and it works,

heroku rename fancheck

But when I switch back to facefancheck, the same problem again,

heroku rename facefancheck
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜