Use Blaze templates with Tracker reactive data binding from any web application.
Blaze is available through the Bower package manager. Learn more about using and installing bower. To add blaze to your application, you can run:
bower install blazeAdditionally, you can include the --save option to add blaze to your bower.json file.
Simply reference the JavaScript file using a <script> tag somewhere on your HTML pages. For example,
<script type='text/javascript' src='bower_components/blaze/target/blaze.min.js'></script>In order to build blaze, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported.
For Windows, you have to download and install git and Node.js.
OS X users should install Homebrew. Once Homebrew is installed, run brew install git to install git,
and brew install node to install Node.js.
Clone a copy of the main Blaze git repo by running:
git clone git://github.com/yasaricli/blaze.gitEnter the blaze directory and run the build script:
cd blaze && npm installOnce you have the repository cloned, building a copy of blaze.js is really easy.
gulpAt this point, you should now have a build/ directory populated with everything you need to use Blaze.
./blaze --server./blaze --download