Skip to content

Windows PowerShell Quick Start #192

Open
@jvanalst

Description

@jvanalst

Any chance of an update to the Quick Start instructions for Windows PowerShell (which uses different environment variable syntax)?

e.g.

Set up path to Moodle code

$Env:MOODLE_DOCKER_WWWROOT="/path/to/moodle/code"

Choose a db server (Currently supported: pgsql, mariadb, mysql, mssql, oracle)

$Env:MOODLE_DOCKER_DB="pgsql"

Ensure customized config.php for the Docker containers is in place

cp config.docker-template.php $Env:MOODLE_DOCKER_WWWROOT/config.php

Start up containers

bin/moodle-docker-compose up -d

Wait for DB to come up (important for oracle/mssql)

this bash script doesn't work in Windows (unlike moodle-docker-compose-up that has a .cmd equivalent)
bin/moodle-docker-wait-for-db

Work with the containers (see below)

[..]

Shut down and destroy containers

bin/moodle-docker-compose down

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions