Templates uses gulp#4.0
- Compile Sass files to CSS
- Minify javascript
- Minify images
- Integration of HTML page templates
- Uses BrowserSync to serve your static files to localhost:3000 and to automatically reload your browser when files change.
npm i gulpjs/gulp#4.0 -g
- Install Bower
npm i bower -g
- Then copy the template in a folder
git clone https://github.com/iapolyakov/default-template.git
- Installs server-side dependencies from npm
npm install
- Installs packages from bower
bower install
Compiles your files
gulp build
Compiles your files, starts watching files for changes, serves static files to port 3000
gulp dev
Production build
NODE_ENV=production gulp build
public - directory only to compiled/copied files from src