Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.09 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.09 KB

The Official Website of Lab μ

© 2014-2016 Lab μ.

Development Guide

This website is developed using the Gulp Building System and Bower Package Manager, which is based on Node.js.

We use Swig Template Engine. All *.html file is Swig template. View the documentation before you start developing.

Environment

First install Node.js. Any version beyond 0.12.0 is supported (but the latest version is encouraged). Make nodejs and npm is in your system path (which is automatically configured by the installer by default, or you can make it your self).

Then run

$ npm install -g gulp-cli
$ npm install -g bower

to install gulp and bower.

Preparation

$ npm install
$ bower install

to install all development dependencies and used library.

Preview

$ gulp serve

it automatically open your default browser to the index.

Changes on files is automatically reloaded.

Release

$ gulp

and checkout the pages in dest directory.