Giter Site home page Giter Site logo

shyfatty / html5-template-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appleboy/html5-template-engine

0.0 2.0 0.0 1.48 MB

html5 template engine with CoffeeScript, Compass, RequireJS.

Home Page: http://appleboy.github.io/html5-template-engine/

html5-template-engine's Introduction

Html5 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.

> [email protected] start /home/xxxxx/html5-template-engine
> gulp

[13:25:09] Requiring external module coffee-script/register
[13:25:11] Using gulpfile /home/xxxxx/html5-template-engine/gulpfile.coffee
[13:25:11] Starting 'default'...
[13:25:11] Starting 'coffee'...
[13:25:11] Starting 'compass'...
[13:25:11] Finished 'coffee' after 253 ms
directory app/assets/css/
   create app/assets/css/main.css

[13:25:12] Finished 'compass' after 1.08 s
[13:25:12] Starting 'connect:app'...
[13:25:12] Finished 'connect:app' after 34 ms
[13:25:12] Finished 'default' after 1.2 s
[BS] Local: >>> http://localhost:3001
[BS] External: >>> http://172.168.0.122: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

Support Terminal in Chrome Devtools

If you’re on a Mac, just download this Chrome extension. Install it, and you good to go. No need to read any further.

If you’re not on a Mac, you can connect to your system’s terminal via Node.js proxy. It can be localhost or some other remote server.

$ npm install -g devtools-terminal $ devtools-terminal --config terminal.js

Please refer more detail information.

Support Gulp in Chrome Devtools

Please install chrome Gulp Devtools extension. An extension to run gulp task from chrome devtools.

Is gulp-devtools running?

  • If not already installed, run npm install -g gulp-devtools
  • Export gulp from your gulpfile.js by adding module.exports = gulp;
  • Run gulp-devtools in a directory with a gulpfile!
  • Re-open Chrome Dev tools, find the Gulp tab. Your gulp tasks should now be accessible from Chrome

Author

Bo-Yi Wu, Twitter: @appleboy, Blog: http://blog.wu-boy.com

html5-template-engine's People

Contributors

appleboy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.