Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lbailey-ucsf authored Jul 12, 2024
1 parent b9aec87 commit 45e99ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ services:
MOODLE_DOCKER_BROWSER: firefox
commands:
init:
- echo "initializing webserver"

# Link the document root to the expected path. This example links /moodle
# to the docroot.
#Note: the TUGBOAT_ROOT environment variable is equivalent to the git repo root.
- ln -snf "$TUGBOAT_ROOT" "${DOCROOT}"

- echo "php extensions"
- php -i

- cp "${TUGBOAT_ROOT}/.tugboat/config.php" "${DOCROOT}/config.php"

Expand All @@ -30,6 +35,9 @@ services:
- mkdir /var/www/behatfaildumps
- chmod 0777 /var/www/moodledata

- pwd
- cd ${DOCROOT}

# Install/update packages managed by composer, including drush.
- composer install --optimize-autoloader

Expand Down

0 comments on commit 45e99ab

Please sign in to comment.