Skip to content
Browse files

Add Heroku deployment notes to README

  • Loading branch information...
1 parent f3ac5fa commit 8cffb2c978bcb99ae26b78b029dd32504e8af461 @nelstrom committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
9 README.md
@@ -26,3 +26,12 @@
* time
* user
* team
+
+## Deployment
+
+This code is deployed to Heroku as a static site, served by Rack. All files under the 'public' directory are served as static files (using [Rack::Static][] middleware). The [Rack::Rewrite][] middleware ensures that the index.html file is served for the root path: '/'. This is configured in the [config.ru][] file.
+
+[Rack::Static]: http://rack.rubyforge.org/doc/classes/Rack/Static.html
+[Rack::Directory]: http://rack.rubyforge.org/doc/classes/Rack/Directory.html
+[Rack::Rewrite]: http://johntrupiano.rubyforge.org/rack-rewrite/
+[config.ru]: https://github.com/nelstrom/Sencha-Touch-tabs-and-toolbars-demo/blob/master/config.ru

0 comments on commit 8cffb2c

Please sign in to comment.
Something went wrong with that request. Please try again.