Skip to content

Commit cc1df4e

Browse files
authored
Update config.yml
1 parent 294c729 commit cc1df4e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.tugboat/config.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ services:
3232
- echo "max_input_vars = 5000" >> /usr/local/etc/php/conf.d/max_input_vars.ini
3333

3434
# Link the document root to the expected path. Note: the TUGBOAT_ROOT environment variable is equivalent to the git repo root.
35+
#- ln -snf "$TUGBOAT_ROOT" "${DOCROOT}"
3536
- ln -snf "$TUGBOAT_ROOT" "${DOCROOT}"
3637

3738
#- cp "${TUGBOAT_ROOT}/.tugboat/config.php" "${DOCROOT}/config.php"
@@ -42,7 +43,8 @@ services:
4243
- mkdir /var/www/behatdata
4344
- mkdir /var/www/behatfaildumps
4445
- chmod 0777 /var/www/moodledata
45-
- chmod 0777 ${DOCROOT}
46+
#- chmod 0777 ${DOCROOT}
47+
- chown www-data $DOCROOT
4648

4749
update:
4850
- service apache2 start
@@ -52,7 +54,8 @@ services:
5254
# - npx grunt
5355
# Install/update packages managed by composer
5456
- composer install --optimize-autoloader --ignore-platform-req=ext-zip --ignore-platform-req=ext-intl
55-
- php admin/cli/install.php --non-interactive --agree-license --lang=en --wwwroot=https://$TUGBOAT_DEFAULT_SERVICE_URL_HOST --dataroot=/var/www/moodledata --dbtype=mariadb --dbhost=db --dbname=moodle --dbuser=moodle --dbpass=m00dl3ing --adminuser=admin --adminpass=Admin123! --prefix=m_ --fullname=PREVIEW --shortname=PREVIEW [email protected]
57+
- sudo -u www-data php admin/cli/install.php --non-interactive --agree-license --lang=en --wwwroot=https://$TUGBOAT_DEFAULT_SERVICE_URL_HOST --dataroot=/var/www/moodledata --dbtype=mariadb --dbhost=db --dbname=moodle --dbuser=moodle --dbpass=m00dl3ing --adminuser=admin --adminpass=Admin123! --prefix=m_ --fullname=PREVIEW --shortname=PREVIEW [email protected]
58+
- chown -R root $DOCROOT
5659

5760
online:
5861
- php admin/tool/generator/cli/maketestsite.php --size=S --bypasscheck

0 commit comments

Comments
 (0)