Skip to content
The bare minimum required to run a static site on Heroku, served by Rack.
Find file
Pull request Compare This branch is even with nelstrom:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

To install rubygem dependencies

Run the command:

bundle install

This should install each of the ruby gems listed in Gemfile.

To run this static site locally

The serve gem lets you quickly spin up a local web server. This command will serve the contents of the public/ directory from http://localhost:4000:

bundle exec serve public

To deploy this static site to Heroku

Replace 'rack-static-starter' with the name you want to use for your site:

heroku create rack-static-starter
git push heroku master

Now open up in your browser.


Something went wrong with that request. Please try again.