https://github.com/appleboy/backbone-template-engine
Backbone template engine with CoffeeScript, Compass, RequireJS.
https://github.com/appleboy/backbone-template-engine
Last synced: 3 months ago
JSON representation
Backbone template engine with CoffeeScript, Compass, RequireJS.
- Host: GitHub
- URL: https://github.com/appleboy/backbone-template-engine
- Owner: appleboy
- Created: 2013-02-09T05:28:57.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T00:57:27.000Z (about 9 years ago)
- Last Synced: 2024-05-29T01:31:45.841Z (over 1 year ago)
- Language: ApacheConf
- Homepage: http://appleboy.github.io/backbone-template-engine/
- Size: 1.29 MB
- Stars: 7
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backbone-Template-Engine
[](http://travis-ci.org/appleboy/backbone-template-engine) [](https://drone.io/github.com/appleboy/backbone-template-engine/latest)
## Features
* The latest [html5boilerplate.com](http://html5boilerplate.com/) source code.
* Includes [Normalize.scss](https://github.com/appleboy/normalize.scss) v3.0.x and v1.1.x.
* The latest [jQuery](http://jquery.com/) and [Modernizr](http://modernizr.com/) via [Bower](http://bower.io/) package manager.
* Support [CoffeeScript](http://coffeescript.org/), [RequireJS](http://requirejs.org/), [Compass](http://compass-style.org/), html minification (via [html-minifier](http://kangax.github.io/html-minifier/)).
* Support [browser-sync](http://browsersync.io) Keep multiple browsers & devices in sync when building websites.
* Support JavaScript test framework [Mocha](http://mochajs.org/)
* Support The streaming build system [GulpJS](http://gulpjs.com)
* Support [Backbone.js](http://backbonejs.org) MV* Framework
* Support [Handlebars.js](http://handlebarsjs.com) Mustache templating language
## Installation
Please install node.js first (>0.10) and [bower](http://bower.io/) package manager
```bash
$ npm install -g bower
$ npm install && bower install
```
Start App
```bash
$ 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.
```bash
$ npm run release
```
## Test
To test release process by following command.
```bash
$ npm test
```