/moodle-dev-env

A Moodle development environment (CentOS) using vagrant and ansible

Primary LanguageRubyApache License 2.0Apache-2.0

Moodle on CentOS7

The main intent of this repository is for developers of Moodle to rapidly create a local instance of Moodle.

This project contains Vagrant and Ansible scripts to provision CentOS7 machines with Moodle.

This Moodle installation will depend on Apache2 and MariaDB.

Configuration

  1. Copy vars.secret.yml.edit file to vars.secret.yml.
  2. Edit the vars.secret.yml file following the instructions detailed in the file.
  3. Modify the moodle file in the group_vars directory by specifying the mdl_repo and mdl_repo_version.

If you need to use a proxy, please see the proxy fork of this repository.

Typical usage

This section explains one use case of this project:

  1. Create one VM machine with Moodle installed.

Use case 1. Create one VM machine

To create a virtual machine and provision it with Moodle, simply run:

vagrant up

If the installation is completed successfully, you will be able to:

  • Access Moodle through your web browser: http://localhost:8083
  • Finalize the Moodle installation process
  • Connect to the machine: vagrant ssh