Created
June 13, 2013 00:10
-
-
Save xlogerais/5770216 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1/ set rvm env | |
| 2/ install bundle | |
| gem install bundler | |
| 3/ install tools with bundler | |
| create Gemfile | |
| add gem 'rake' | |
| add gem 'haml' | |
| add gem 'sass' | |
| add gem 'coffee-script' | |
| run bundle | |
| bundle | |
| 4/ Create content | |
| vim index.haml | |
| mkdir css | |
| vim css/style.sass | |
| mkdir js | |
| vim js/custom.coffee | |
| 5/ Simplify rendering | |
| create rakefile | |
| add source 'https://rubygems.org' | |
| add require 'haml' | |
| add require 'sass' | |
| add require 'coffee-script' | |
| add task build | |
| add task deploy | |
| generate site | |
| rake build | |
| deploy | |
| rake deploy | |
| 6/ Automate rendering | |
| add guard | |
| add guard-rake | |
| configure guard | |
| bundle exec guard init | |
| bundle exec guard init rake | |
| launch guard | |
| bundle exec guard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment