/portfolio2015

Portfolio Site 2015

Primary LanguageCoffeeScript

React-Brunch-Base

A boilerplate for React with Brunch

Brunch

bwc-logo

This is HTML5 application, built with Brunch and React.

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Bower: npm install -g bower

Project Installation

  • Install:
    • Clone this repo
    • Run npm install in the root directory to install all Brunch packages
    • Run bower install in the root directory to install all project dependencies
  • Workflow:
    • brunch watch --server — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • brunch watch -s -p xxxx watches the project and launches the HTTP server on port XXXX.
    • brunch build --production — builds minified project for production
    • public/ dir is fully auto-generated and served by HTTP server. Write your code in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Brunch site, React site