Ruby on rails 使用heroku的ruby on rails web开发
我的应用程序尚未上载到 赫罗库 只显示欢迎使用RubyonRails的第一页 我的网址是Ruby on rails 使用heroku的ruby on rails web开发,ruby-on-rails,heroku,Ruby On Rails,Heroku,我的应用程序尚未上载到 赫罗库 只显示欢迎使用RubyonRails的第一页 我的网址是 您部署的应用程序目前被Rails的默认静态索引页覆盖。从config/routes.rb: # You can have the root of your site routed with "root" # just remember to delete public/index.html. 因此,首先确保已设置根路由: # config/routes.rb root :to => `root_co
您部署的应用程序目前被Rails的默认静态索引页覆盖。从
config/routes.rb
:
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
因此,首先确保已设置根路由:
# config/routes.rb
root :to => `root_controller#root_action`
然后,删除public/index.html,将更改提交到版本控制,并重新部署到Heroku。首先确保路由正确。然后将更改提交到主分支,然后:
git push heroku master
希望这能有所帮助。问题在于我是否已经有了存储库,以及如何在git hub中删除它