There are several actions one should do before use the version from the repository:
- Obtain a copy of the repository using
git clone, download button, or another way.
- Install node.js and npm.
- Install Gulp.
- Navigate to
src/directory of the local copy of the repository.
- Install npm dependencies using
- Run Gulp to build Mibew using
.zip archives of the ready-to-use Mibew will be
default task that was used above is just one of many available build
tasks. The full list can be got by running
gulp -T in
src/ directory of
Mibew repository. Here is descripion of the most frequently used tasks:
gulp rebuild: installs all necessary dependencies and compile (minifies, concats, ...) all files that should be compiled. The result of the task is a redy-to-use development version of Mibew.
gulp default: the same as
gulp rebuildbut also packs the sources into archives under
gulp phpcs: runs PHP Code Sniffer to check if the sources follows coding style.