/backbone-template-engine

Backbone template engine with CoffeeScript, Compass, RequireJS.

Primary LanguageApacheConf

Backbone-Template-Engine

Build Status Build Status

Features

Installation

Please install node.js first (>0.10) and bower package manager

$ npm install -g bower
$ npm install && bower install

Start App

$ npm start

Excuting above command will output the following message.

> backbone-template-engine@1.0.0 start /home/xxxxx/backbone-template-engine
> gulp

[10:44:39] Requiring external module coffee-script/register
[10:44:40] Using gulpfile /home/xxxxx/backbone-template-engine/gulpfile.coffee
[10:44:40] Starting 'default'...
[10:44:40] Starting 'coffee'...
[10:44:40] Starting 'compass'...
[10:44:40] Finished 'coffee' after 156 ms
directory app/assets/css/
   create app/assets/css/main.css

[10:44:41] Finished 'compass' after 565 ms
[10:44:41] Starting 'connect:app'...
[10:44:41] Finished 'connect:app' after 18 ms
[10:44:41] Finished 'default' after 627 ms
[BS] Local: >>> http://localhost:3001
[BS] External: >>> http://xxx.xxx.xxx.xxx:3001
[BS] Serving files from: app

Open browser like chrome or firefox and enter http://localhost:1337 URL.

Release

Execute the following command will generate dist folder.

$ npm run release

Test

To test release process by following command.

$ npm test