Prepare your environment for theme compilation.
- Install Node.js via a provided installer: https://nodejs.org/en/download/
- Update npm from the version packaged with Node:
npm install npm@latest -g
- Install Gulp globally:
sudo npm install -g gulp
Prepare your local version of the theme for the first time.
- Navigate to the root of the theme folder via terminal
- Install node_modules and local instance of gulp:
npm install
- Make a copy of gulpfile.default.js as gulpfile.js
- Add your local web address to gulpfile.js
- Run Gulp via the command line at the theme root:
gulp