A quick and simple local web server for prototyping web applications.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
template
.gitignore
.yardopts
Gemfile
README.md
Rakefile
work_bench.gemspec

README.md

Workbench

Workbench is a quick and simple local web server for prototyping web applications and sites. It supports HAML, SASS and Compass out of the box.

Install

The first step is to install the gem:

gem install work-bench

Workbench comes with command line utility workbench.

Create first project

Next we need to create project.

mkdir project
cd project
workbench init

Start server

Inside project directory run:

workbench start

Now type in browser http://localhost:4000. And you will see the start page.

Export prototype

You can export your work using:

workbench export

By default the project will export to a folder export.

Help

Type workbench for more help and options.

Additional features

You can specify the JS libraries to be used in your project.

workbench init --js jquery json

List of libraries available:

workbench js

normalize.css

You can add awesome normalize.css to project. Just use --normalize or --no-normalize in options. This feature is enabled by default.

workbench init --normalize