Skip to content

Moodle example for Platform.sh. For demonstration purposes only.

Notifications You must be signed in to change notification settings

oktab1/platformsh-example-moodle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moodle 3.2 on Platform.sh

This is an example repo to get you started. The main points of interest are

  • The .platform directory, and the two files therein - routes.yaml and services.yaml. These files define project wide webserver configuration and your MySQL database, respectively.
  • The .platform.app.yaml file in the root of this project. This is the application definition file, and sets up all the parameters needed for Moodle to run on Platform.sh
  • The public/config.php file, where the Platform.sh config-reader Composer package is autoloaded, and the database connection info is set.

Modifications made to the vanilla Moodle download

  • The entire download was placed into the public directory, rather than being in the root of the repo.
  • The composer.json and composer.lock files were moved up a directory into the root of the repo. This only appears to load behat for dev (by default), but this repo also loads the config-reader Composer package referenced above.
  • public/config.php was modified in the following places

About

Moodle example for Platform.sh. For demonstration purposes only.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 79.1%
  • JavaScript 15.7%
  • Gherkin 2.7%
  • CSS 1.4%
  • HTML 1.1%
  • XSLT 0.0%