Build process of project depend on Node.js
. Used package managers its Bower
and npm
. Core of builder is Gulp
.
npm install bower -g
npm install -g gulp gulp-cli
Clone repo:
git clone https://github.com/course-js/JS_10_17.git
Install dependencies
npm install
bower install
To run project for developing :
CONFIGURATION: environment/development.json
gulp serve-dev
To run build project for production :
CONFIGURATION: environment/production.json
gulp build-prod
To use node environment you may write custom configuration (environment/fileName.json) and specified node environment (SET NODE_ENV=fileName) then run:
To run project for developing with custom configuration
gulp serve
To run run build project for production with custom configuration
gulp build