A template for middleman.
Install middleman
gem install middleman
Clone this repo into your ~/.middleman
folder:
git clone https://github.com/lacroixdesign/middleman-template ~/.middleman/lacroixdesign
middleman init PROJECT_NAME -T=lacroixdesign
Change to the project directory and run bundle install
.
rake server
rake build
Builds the static version for production and removes files that are no longer needed.
rake domain:set
See Setting up a custom domain with Pages for DNS instructions.
rake domain
rake deploy
Requires a Github repo to be set for origin
. This will build + clean, then deploy to the gh-pages
branch of the Github repo.