Default frontend setup for projects. Makes use of:
- Gulp - Task runner
- npm - Package Manager for task runner modules and some site libraries/plugins
- Bower - Package Manager for site libraries/plugins
- RequireJS - Javascript dependencies
- Angular 1.5.8 - Javascript framework
- SC5 Style Guide Generator - Uses KSS
- SASS - More powerful CSS
- Install Node.js and update NPM, JavaScript runtime and JavaScript package managers. This thread may help OSX users who encounter permissions issues when trying to install NPM.
- Install Git, source control
- Install Bower, front-end package manager
- If using Windows:
- Install Python 2.7 and Microsoft Visual C++ 2010
- Launch the command line and enter
$ npm config set msvs_version 2015
- Fix any errors you get when installing NPM packages.
- Download the project from Git.
- Open the terminal/command prompt and go to the project's root directory.
- On the command line:
- Install Gulp 4
- Install NPM packages:
$ npm install
- Install bower packages:
$ bower install
- Run gulp:
$ gulp serve