Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.36 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.36 KB

Middleman Slimmer

Static site starter template for Middleman.

Preprocessing
Tools
Other

Getting Started

  1. Install Middleman
$ gem install middleman
  1. Install slimmer template
$ mkdir ~/.middleman #if it doesn't exist yet
$ 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.