heroku-static-site
heroku-static-site copied to clipboard
A basic Ruby/Rack app for publishing a static HTML/CSS/javascript website on Heroku (for free)
heroku-static-site
A simple ruby + rack application for serving a basic static website, suitable for deploying to Heroku. Their free 1-dyno plan covers 80% of my projects and Just Works™
For even simpler free HTML cloud hosting check out GitHub Pages.
I put static sites on Heroku when I will be adding some simple dynamic stuff later, or for redundancy with GH pages (whose uptime isn't perfect).
Usage
Run the app locally:
-
gem install bundler
-
bundle install
-
bundle exec rackup
- Visit http://localhost:9292
Make something great, then push it to your Heroku account:
-
gem install heroku
-
heroku login
-
heroku create --stack=cedar mynewapp
-
heroku git:clone -a mynewapp
-
git add .
-
git commit -am "make it better"
-
git push heroku master
License
© copyfree 2012 Jamie Dubs. This source code made freely available under an MIT License.