From b16f0227a30c1f475d0b811d8bc38e23f91c68b3 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Mon, 8 Apr 2024 13:50:36 -0400 Subject: [PATCH 1/3] More complete quick start --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cf5fc281b88..a10ee2cd49a 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,12 @@ This repository contains Docker configuration aimed at Moodle developers and tes ## Quick start ```bash +# Get Moodle code (or get another version, or skip if you have a local copy) +git clone -b MOODLE_403_STABLE git://git.moodle.org/moodle.git + # Set up path to Moodle code -export MOODLE_DOCKER_WWWROOT=/path/to/moodle/code +export MOODLE_DOCKER_WWWROOT=./moodle + # Choose a db server (Currently supported: pgsql, mariadb, mysql, mssql, oracle) export MOODLE_DOCKER_DB=pgsql From e4ce4e52be8a96714dd40a7f0e5f9410b3cb76c0 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Tue, 9 Apr 2024 11:27:59 -0400 Subject: [PATCH 2/3] Clone to the correct directory --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a10ee2cd49a..846a5c4a94a 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,15 @@ This repository contains Docker configuration aimed at Moodle developers and tes ## Quick start ```bash -# Get Moodle code (or get another version, or skip if you have a local copy) -git clone -b MOODLE_403_STABLE git://git.moodle.org/moodle.git - # Set up path to Moodle code 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 From 1bd5c9d098cdfeb819417b391c8f303c1a374e82 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Tue, 9 Apr 2024 11:36:23 -0400 Subject: [PATCH 3/3] Say /path/to/moodle --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 846a5c4a94a..ffd4c9b2f0d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This repository contains Docker configuration aimed at Moodle developers and tes ## Quick start ```bash -# Set up 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)