Static site starter template for Middleman.
- Slim [for html]
- SASS [for css]
- CoffeeScript [for js]
- Bower [js package management]
- Compass [sass helpers/mixins]
- GitHub Pages [deployment/hosting]
- SublimeText [basic project file]
- Install Middleman
$ gem install middleman
- Install slimmer template
$ cd ~/.middleman
$ git clone [email protected]:polymatt/slimmer.git slimmer
- Start your project
$ cd ~/path/to/your/project
$ middleman init PROJECT_NAME --template=slimmer
- Find and install the packages you need...
$ bower search PACKAGE_NAME
$ bower install ACTUAL_PACKAGE_NAME -S
- 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
$ rake publish
Thanks to neo for the dpeloyment method. More information available there.