Skip to content

hamzatamyachte/mchef

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MChef

MChef is a command-line tool designed to manage and automate various tasks related to deploying Moodle instances with plugins in Docker containers. It leverages the splitbrain/php-cli library to provide a robust CLI interface.

Features

  • Recipe management
  • Plugin integration
  • Docker support

Requirements

Installation

  1. Clone the repository:

    git clone https://github.com/gthomas2/mchef.git
    cd mchef
  2. Install dependencies using Composer:

    composer install

    or alternatively, if you installed composer in the project directory

    php composer.phar install
  3. Install the application itself:

    php mchef.php -i

    This will also create a symlink so you can use the command

    mchef.php [command] [options]

    afterwards.

Usage

You should create a folder for hosting your project. In this folder you will need a recipe file - see the example-mrecipe.json file To use MChef, run the following command in your project folder:

mchef.php [command] [options]

For example - if you have a recipe called recipe.json in your project folder you would run:

mchef.php recipe.json

To see an overview of commands, run:

mchef.php

To run the example recipe use:

mchef.php example-mrecipe.json

Search in "/src/Model/Recipe.php" for all the possible ingredients of your recipe. Enjoy cooking.

About

Moodle docker wrapper facilitating docker container creation through recipe templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 92.4%
  • Twig 6.9%
  • Shell 0.7%