Zero-configuration command-line HTTP server with super-cow powers...
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
example
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
madride.gemspec

README.md

Madride

Build Status Dependency Status Code Climate

Zero-configuration command-line HTTP server with cow super-powers...

It's main purpose is to provide environment for quick prototyping of pages with slim (or any other template engine - feel free to open feature request issue) without need to run full stack of big boys like sinatra or rails. All you need is to simply execute madride with paths to your assets and pages.

The most simple example is:

madride

This will start a server on 0.0.0.0:3000 serving files from . directory. You can provide a dummy data (that will be available in your templates) with --data path/to/data.yml argument. See example dir.

Installation

gem install madride

Usage

See example for details.

License & Copyrights