Skip to content

A docker setup to create a development environment for Totara Learn

License

Notifications You must be signed in to change notification settings

totara/totara-docker-dev

Folders and files

NameName
Last commit message
Last commit date
Jan 10, 2025
Nov 17, 2024
Jan 10, 2025
Jan 10, 2025
Nov 23, 2018
Aug 20, 2024
Jun 18, 2024
Jul 2, 2024
Jun 18, 2024
May 13, 2024
Sep 6, 2023
Jan 22, 2019
Jan 10, 2025
Jan 15, 2024
Sep 23, 2022
Jan 10, 2025
Nov 27, 2024
Sep 3, 2023
Mar 6, 2019
Aug 29, 2019
Aug 29, 2019
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Oct 11, 2020

Repository files navigation

Totara Totara Docker Dev: A Totara Development Environment

Release Release Date Build Status Issues License

This project aims to provide an easy way to start developing for Totara by providing a Docker setup.

This setup was created and tested extensively on MacOS and Linux. It also works on Windows via WSL2.

Although this project started as a development environment for Totara Learn it can be adapted for use in any other PHP project.

What You Get

  • NGINX as a webserver
  • Apache as a webserver
  • PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 to test for different versions
  • PostgreSQL (9.3, 9.6, 10, 11, 12, 13, 14, 15, 16),
  • MariaDB (10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.11, 11.4),
  • MySQL (5.7, 8.0, 8.4),
  • Microsoft SQL Server (2017, 2019, 2022)
  • NodeJS for building, developing and testing frontend code
  • A PHPUnit and Behat setup to run tests (including Selenium)
  • A MailDev instance to view sent emails
  • Redis for caching and/or session handling
  • XHProf for profiling
  • XDebug installed, ready for debugging with your favorite IDE
  • A Python instance to run the Totara Machine Learning service
  • Optimised for Apple Silicon

Installation & Usage

See the wiki for detailed documentation on installation and usage.

Contribute

Please check out the contributing guide for more information on how you can help us.