Re: Default index page on Heroku server
Run git status, then git commit -a to check everything in. Oren On Tue, Apr 20, 2010 at 8:29 AM, Brett wrote: > Thanks, Oren. > > I had deleted "public/index.html" from my local directory, and then I > used "git push heroku master" to replicate the updated version to the > server. > > However, this appears not to have deleted the file from "public/ > index.html", and I cannot find any documentation on how to do so. Do > I use git? Can I use an FTP client to access my Heroku app and > manually delete the file? > > Thanks in advance for your help here! > > > On Apr 19, 6:13 pm, Oren Teich wrote: > > Did you remove public/index.html? > > > > Oren > > > > > > > > On Mon, Apr 19, 2010 at 4:15 PM, Brett > wrote: > > > Hi all, > > > > > I'm having a problem with the default index page on an app I've > > > recently uploaded tohttp://lebronandkobe2.heroku.com. > > > > > I want my custom "signatures" controller to appear instead of the the > > > standard Rails "welcome" screen. I changed config/routes.rb > > > (map.root :controller => "signatures"), which works on my local > > > Mongrel server. However it does not work on Heroku. I also ran > > > "heroku rake routes" which reports that my change should have worked. > > > From the log file: > > > root/ > > > {:action=>"index", :controller=>"signatures"} > > > > > Any advice is much appreciated! > > > > > (FYI, the page I am trying to load by default is available > > >http://lebronandkobe2.heroku.com/signatures) > > > > > Thanks! > > > > > Brett > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Heroku" group. > > > To post to this group, send email to her...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > heroku+unsubscr...@googlegroups.com > > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/heroku?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > > To post to this group, send email to her...@googlegroups.com. > > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > > For more options, visit this group athttp:// > groups.google.com/group/heroku?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Default index page on Heroku server
Thanks, Oren. I had deleted "public/index.html" from my local directory, and then I used "git push heroku master" to replicate the updated version to the server. However, this appears not to have deleted the file from "public/ index.html", and I cannot find any documentation on how to do so. Do I use git? Can I use an FTP client to access my Heroku app and manually delete the file? Thanks in advance for your help here! On Apr 19, 6:13 pm, Oren Teich wrote: > Did you remove public/index.html? > > Oren > > > > On Mon, Apr 19, 2010 at 4:15 PM, Brett wrote: > > Hi all, > > > I'm having a problem with the default index page on an app I've > > recently uploaded tohttp://lebronandkobe2.heroku.com. > > > I want my custom "signatures" controller to appear instead of the the > > standard Rails "welcome" screen. I changed config/routes.rb > > (map.root :controller => "signatures"), which works on my local > > Mongrel server. However it does not work on Heroku. I also ran > > "heroku rake routes" which reports that my change should have worked. > > From the log file: > > root / > > {:action=>"index", :controller=>"signatures"} > > > Any advice is much appreciated! > > > (FYI, the page I am trying to load by default is available > >http://lebronandkobe2.heroku.com/signatures) > > > Thanks! > > > Brett > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to her...@googlegroups.com. > > To unsubscribe from this group, send email to > > heroku+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/heroku?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Default index page on Heroku server
Did you remove public/index.html? Oren On Mon, Apr 19, 2010 at 4:15 PM, Brett wrote: > Hi all, > > I'm having a problem with the default index page on an app I've > recently uploaded to http://lebronandkobe2.heroku.com. > > I want my custom "signatures" controller to appear instead of the the > standard Rails "welcome" screen. I changed config/routes.rb > (map.root :controller => "signatures"), which works on my local > Mongrel server. However it does not work on Heroku. I also ran > "heroku rake routes" which reports that my change should have worked. > From the log file: > root/ > {:action=>"index", :controller=>"signatures"} > > Any advice is much appreciated! > > (FYI, the page I am trying to load by default is available > http://lebronandkobe2.heroku.com/signatures) > > Thanks! > > Brett > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Default index page on Heroku server
Hi all, I'm having a problem with the default index page on an app I've recently uploaded to http://lebronandkobe2.heroku.com. I want my custom "signatures" controller to appear instead of the the standard Rails "welcome" screen. I changed config/routes.rb (map.root :controller => "signatures"), which works on my local Mongrel server. However it does not work on Heroku. I also ran "heroku rake routes" which reports that my change should have worked. >From the log file: root/ {:action=>"index", :controller=>"signatures"} Any advice is much appreciated! (FYI, the page I am trying to load by default is available http://lebronandkobe2.heroku.com/signatures) Thanks! Brett -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.