mattmanske / slimmer

Middleman Starter Template
MIT License
30 stars 4 forks source link

Middleman Slimmer

Static site starter template for Middleman.

Preprocessing
Tools
Other

Getting Started

  1. Install Middleman

    $ gem install middleman
  2. Install slimmer template

    $ mkdir ~/.middleman #if it doesn't exist yet
    $ cd ~/.middleman
    $ git clone git@github.com:polymatt/slimmer.git slimmer
  3. 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
  2. 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.