There are several steps one should take before using the development version of Mibew Messenger from the repository:
- Obtain a local copy of the repository using
git clone, download button, or in another way.
- Make sure that PHP is installed and can be used in CLI mode.
- 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 Messenger using
.zip archives of the ready-to-use development version
of Mibew Messenger will be available in
default task that was given above is just one of many available build
tasks. The full list of build tasks can be obtained by running
gulp -T in
src/ directory of the repository. Here are descriptions of several 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 Messenger.
gulp default: the same as
gulp rebuildbut also packs Mibew Messenger into the installation archives in
gulp phpcs: runs PHP Code Sniffer to check whether the source code complies with the coding style.