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:
- $ git rm public/index.html
- fix the routes.r开发者_高级运维b to add
root :to => "homes#index"
- $ git add .
- $ git commit -m "changes"
- $ git clean -f
- $ git push heroku branch-name:master
- $ heroku rake:db:migrate
- $ heroku db:push
- $ 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
精彩评论