The steps below for the Default jQuery Package. If you want to use the Webpack, go to this Webpack Quick Start section.
-
Download the latest theme source from the marketplace.
-
Download and install Node.js from nodejs.org/en/download/
-
Start command prompt window or terminal and change directory to
[keen]/theme/tools/cd theme/tools -
Install the latest npm.
npm install --global npm@latest -
Install yarn via the npm.
npm install --global yarnDon't forget to run
yarn upgradeafter every Keen updates released in order to install newly added or updated 3rd-party plugins. -
Install yarn dependencies. Must execute in
[keen]/theme/tools/folder.yarn -
This below command will compile all the assets(sass, js, media) and copy HTML templates to
[keen]/theme/dist/folder.gulp buildBy default
distfolder does not exist and it will be generated only after running gulp task. -
Start the localhost server.
gulp localhostKeep the console open. Open this link to run
http://localhost:8080/. It will take a few seconds for the build to finish and you will get a list of all available demos(e.g: demo1, demo2... demo6). Click your prefered demo for further preview.Press
Ctrl+Cto quit from localhost.
For more information about the Gulp build tool, click here.
