Skip to content

Commit

Permalink
More complete quick start (moodlehq#286)
Browse files Browse the repository at this point in the history
* More complete quick start

* Clone to the correct directory

* Say /path/to/moodle
  • Loading branch information
fulldecent authored Apr 9, 2024
1 parent db517fa commit 2b27c43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ This repository contains Docker configuration aimed at Moodle developers and tes
## Quick start

```bash
# Set up path to Moodle code
export MOODLE_DOCKER_WWWROOT=/path/to/moodle/code
# Change ./moodle to your /path/to/moodle if you already have it checked out
export MOODLE_DOCKER_WWWROOT=./moodle

# Choose a db server (Currently supported: pgsql, mariadb, mysql, mssql, oracle)
export MOODLE_DOCKER_DB=pgsql

# Get Moodle code, you could select another version branch (skip this if you already got the code)
git clone -b MOODLE_403_STABLE git://git.moodle.org/moodle.git $MOODLE_DOCKER_WWWROOT

# Ensure customized config.php for the Docker containers is in place
cp config.docker-template.php $MOODLE_DOCKER_WWWROOT/config.php

Expand Down

0 comments on commit 2b27c43

Please sign in to comment.