Commit cc1df4e 1 parent 294c729 commit cc1df4e Copy full SHA for cc1df4e
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ services:
32
32
- echo "max_input_vars = 5000" >> /usr/local/etc/php/conf.d/max_input_vars.ini
33
33
34
34
# 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}"
35
36
- ln -snf "$TUGBOAT_ROOT" "${DOCROOT}"
36
37
37
38
# - cp "${TUGBOAT_ROOT}/.tugboat/config.php" "${DOCROOT}/config.php"
@@ -42,7 +43,8 @@ services:
42
43
- mkdir /var/www/behatdata
43
44
- mkdir /var/www/behatfaildumps
44
45
- chmod 0777 /var/www/moodledata
45
- - chmod 0777 ${DOCROOT}
46
+ # - chmod 0777 ${DOCROOT}
47
+ - chown www-data $DOCROOT
46
48
47
49
update :
48
50
- service apache2 start
@@ -52,7 +54,8 @@ services:
52
54
# - npx grunt
53
55
# Install/update packages managed by composer
54
56
- 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
56
59
57
60
online :
58
61
- php admin/tool/generator/cli/maketestsite.php --size=S --bypasscheck
You can’t perform that action at this time.
0 commit comments