Work examples and profile of Damir Grandich, a Product UX Designer in London.
- Node:
>4.2
- Ruby:
>2.0
with Bundler>1.10
- Gulp:
4.0
you need to installgulp-cli
:npm install gulp-cli -g
npm install
bundle install
gulp
$ gulp [--prod]
This command will build your assets and site with development settings. As you are modifying files they will automatically inject into your browser via BrowserSync.
--prod
runs the site with production settings, where CSS, JS and HTML will be minified, gzipped and cache-busted. Changes to files are not automatically injected.
$ gulp build [--prod]
This command is identical to the normal gulp [--prod]
however it will not create a BrowserSync session in your browser.
If you have cloned this repo or want to reinstall, make sure there are no
node_modules
or Gemfile.lock
folder/file and then run npm install
and
bundle install
again.