Skip to content

Config.ru file for upload static pages to Heroku using rubyrack

Notifications You must be signed in to change notification settings

magiobus/trystatic-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

#trystatic-heroku is a config.ru file to upload static pages to heroku using ruby rack.

#How to use:

just go to https://devcenter.heroku.com/articles/static-sites-ruby and read how to upload a static page to heroku.

instead of using config.ru file configuration in heroku's page use this one to use urls between pages.

#UrlExample:

index.html = /

page2.html = /page2

404.html = any page that doesn't exist

standalone version of Ryan Tomayko's TryStatic, originally part of Rack-Contrib gem. https://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/try_static.rb

About

Config.ru file for upload static pages to Heroku using rubyrack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages