Skip to content

NathanBowers/mm-template

Repository files navigation

mm-template

Proof of concept for using using Gulp + Node asset pipeline with Middleman site generator.

Why?

Because Middleman is great, but Middleman + Gulp to automate Node asset pipeline, Libsass, SVG spriting, and BrowserSync is AWESOME.

Getting Started

Main dependencies: Ruby and Node.js

Installing Ruby and Node.js is beyond the scope of this README, but look into rbenv or rvm for Ruby and nvm for Node.js.

Prerequisities

To verify you've got the above prerequisities installed:

$ ruby -v
$ gem install bundler
$ node -v
$ npm -v

Installing

Assuming you've got Ruby, Bundler gem, and Node/npm...

  1. Clone this repository
  2. $ cd path/to/where/you/cloned/mm-template
  3. $ bundle install
  4. $ npm install
  5. $ middleman to start local Middleman server. It should open your default browser to localhost:7000.
  6. Or, $ middleman build to export your Middleman site to static files in static-build-output

Updating

  1. $ bundle update
  2. $ npm update

Support and reporting issues

Something busted? File an issue: mm-template/issues.

License

This project is licensed under the MIT License - see the LICENSE.md file for details