Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A clean starting point for front-end prototyping with Serve. Features HTML5 Boilerplate 2.0, Compass, Haml, Sass, your choice of grid frameworks, and lots of best practices.

tree: 73b6a62c11

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 public
Octocat-spinner-32 stylesheets
Octocat-spinner-32 tmp
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 compass.config

What is this?

Serve Bootstrap is a stripped-down website prototype starting point for Serve.

It features HTML5 Boilerplate, Haml, Sass, Compass, your choice of grid frameworks, and lots of best practices.

How do I install and run Serve?

Serve is distributed as a Ruby gem to make it easy to get up and running. You must have Ruby installed in order to download and use Serve. The Ruby download page provides instructions for getting Ruby setup on different platforms:

After you have Ruby installed, open up the command prompt and type:

gem install bundler

(OSX and Unix users may need to prefix the command with sudo.)

Because we're using Bundler to handle gem dependencies, we can install all the required gems (including Serve itself!) by 'cd'-ing to the Serve Bootstrap directory and typing:

bundle install

After Serve is installed, you can start it up in a given directory like this:


This will start Serve on port 4000. You can now view the prototype in your Web browser at this URL:


Bundled Gems

Serve Bootstrap uses Compass & Sass to generate CSS, and Haml & Markdown to generate HTML.

Learn more about Sass:

Learn more about Compass:

Learn more about Haml:

Learn more about Markdown:

Rack and Passenger

Astute users may notice that this project is also a simple Rack application. This means that it is easy to deploy it on Passenger or in any other Rack-friendly environment. Rack it up with the rackup command. For more information about using Serve and Passenger see:


To export your project, use the "export" command:

serve export <project>:<output>

Where "project" is the path to the project and "output" is the path to the directory where you would like your HTML and CSS generated.

Learning More

You can learn more about Serve on its GitHub project page:

Something went wrong with that request. Please try again.