Skip to content

designhacker/chamber

Repository files navigation

Middleman Slimmer

Static site starter template for Middleman.

Preprocessing
Tools
Other

Getting Started

  1. Install Middleman
$ gem install middleman
  1. Install slimmer template
$ cd ~/.middleman
$ git clone [email protected]:polymatt/slimmer.git slimmer
  1. Start your project
$ cd ~/path/to/your/project
$ middleman init PROJECT_NAME -- template=slimmer

Using Bower

  1. Find and install the packages you need...
$ bower search PACKAGE_NAME
$ bower install ACTUAL_PACKAGE_NAME -S
  1. Include the assets in your js/css files (paths relative to the root 'bower' directory )

#=require 'folder/file' - for js files

@import 'folder/file' - for css files

Deploying to GitHub Pages

$ rake publish

Thanks to neo for the dpeloyment method. More information available there.