The core repository contains the CLI interface for EasyEngine and the internal api's to facilitate and accommodate the creation and execution of commands. It is built on top of WP-CLI and follows the same basic structure.
- The
bindirectory contains the shell script entrypoint to the PHP files. cidirectory contains shell scripts to automate the phar building and deploying of the same to the easyengine-builds repository with the help of travis-ci.ee-configdirectory has all thenginx, php and redisconfigurations required for different types of sites likeWordPress - Single-Site, Multi-Siteetc.- The
phpdirectory contains the core of EasyEngine cli.- It contains the
cli-commandwhich handles the most basic required functions like:version, updateetc. - The WP-CLI internal-api, booting and auto-loading logic and other utilities.
- EasyEngine adds the following classes on top of the existing codebase:
EE_DBhaving the generic Sqlite3 functions for db management.EE_DOCKERhaving various docker related functions like starting, stopping and inspecting containers, creating and connecting to networks etc.
- Also, the internal-api has been slightly modified to remove WordPress specific functions and additional features like, logging of all the command invocation and related log, success, debug and error messages from
EE::info(), EE::success(), EE::debug(), EE::error()outputs into a file for debugging purposes.
- It contains the
templatesdirectory contains the mustache templates for man page/help, generation ofdocker-compose.ymletc.utilsdirectory contains the scripts forphargeneration.