Installing Brunch.io on windows

1. Install nodejs http://nodejs.org/download/

(i’m using 0.8.14) http://blog.nodejs.org/2012/10/25/node-v0.8.14/

2. open cmd

3. reference(http://brunch.io/) execute “npm install -g brunch@1.4.0”

4. install git (git is needed for brunch-eggs-and-bacon to pull new projects)

  • http://msysgit.github.com/
  • http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git
  • use default options next > next > next > finish

5. Open the new program “Git Bash”, and use it as your command line tool for brunch, when open verify “brunch” command is found, and “git”, if both give help on how to use, then your good.

5.1 Install ruby, (check the options that add to your PATH when installing)(which installs gem), gem is needed for the next step

http://rubyinstaller.org/downloads/ – http://rubyforge.org/frs/download.php/76706/rubyinstaller-1.9.3-p374.exe

5.2 Install sass – run “gem install sass” (this will compile your .less or scss files for css)

6. use brunch-eggs-and-bacon to start a new project

  • cd /c/www
  • To paste, you may have to right click the title bar of the app, and edit > paste
  • brunch new brunchTest -s github://nezoomie/brunch-eggs-and-bacon
  • this will run a couple lines, then should be done
  • cd /c/www/brunchTest
  • brunch watch –server (will create a local server to test with)
  • brunch watch –o (will optimize and minify code for server when deploying)

1 comment on this post.
  1. Josh Habdas:

    Thanks for sharing. As an alternative, you could just run an Ubuntu VM. Here are step-by-step instructions for doing so: http://www.habdas.org/developing-modern-web-applications-on-windows-vagrant/

Leave a comment