First Install development dependencies, ensure you have nodejs installed and install the following tools:
Gulp command line utility:
$ npm install -g gulp
Bower command line utility:
$ npm install -g bower
once installed see update dependencies
###Ensure node tools and gulp plugins are up to date:
$ npm install
will install dependencies defined in package.json file
Your main javascript file is placed in src/js/app.js. Development and production app.js file is generated from gulp tasks.
For more informations run:
$ gulp -h
Launch a dev server at http://localhost:8080/ and watch for modifications:
$ gulp serve --dev
Application can be built in different environnements:
$ gulp build --dev
OR
$ gulp build --prod
Default environment is prod, linting for production is more restrictive, it won't allow alert() OR console.log() globals
Application can be packaged for differents targets: targets configuration can be found in gulp/target/[target_name].js
$ gulp build --dev -t symfony
@TODO in target context allow overriding