开发者

Heroku displays old index.html even after I have deleted it and git commit

After I have re-deployed my app to Heroku, it displays the old public/index.html. What am I missing?

I have done the following steps:

  1. $ git rm public/index.html
  2. fix the routes.r开发者_高级运维b to add root :to => "homes#index"
  3. $ git add .
  4. $ git commit -m "changes"
  5. $ git clean -f
  6. $ git push heroku branch-name:master
  7. $ heroku rake:db:migrate
  8. $ heroku db:push
  9. $ heroku open


There is no need to clean. Just do a simple rm (not git rm) and then git add -A before you commit.

Hope this helps

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜