Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jamiew/heroku-static-site

A basic Ruby/Rack app for publishing a static HTML/CSS/javascript website on Heroku (for free)
https://github.com/jamiew/heroku-static-site

css heroku html javascript ruby static-site

Last synced: 6 days ago
JSON representation

A basic Ruby/Rack app for publishing a static HTML/CSS/javascript website on Heroku (for free)

Awesome Lists containing this project

README

        

heroku-static-site
===========

A simple ruby + rack application for serving a basic static website, suitable for deploying to [Heroku](http://heroku.com).
Their free 1-dyno plan covers 80% of my projects and Just Works™

For even simpler free HTML cloud hosting check out [GitHub Pages](http://pages.github.com).

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:

1. `gem install bundler`
2. `bundle install`
3. `bundle exec rackup`
4. Visit

Make something great, then push it to your [Heroku](http://heroku.com) account:

1. `gem install heroku`
2. `heroku login`
3. `heroku create --stack=cedar mynewapp`
4. `heroku git:clone -a mynewapp`
5. `git add .`
6. `git commit -am "make it better"`
7. `git push heroku master`

License
-------

© copyfree 2012 [Jamie Dubs](http://jamiedubs.com).
This source code made freely available under an [MIT License](http://www.opensource.org/licenses/mit-license.php).