Add utility scripts

This commit adds a new utility script and makes sure that it is mounted
inside the containers.
This commit is contained in:
Tom Wiesing 2020-10-08 14:51:45 +02:00
parent d1949464e2
commit 70cdf7c602
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
6 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,13 @@
#!/bin/bash
# This utility script can be used to blindly update all dependencies to their latest versions.
# It does not perform any checking whatsoever.
cd /var/www/data/project || exit 1
# composer install updates
chmod u+rw web/sites/default/
composer update
# update the dabatabase
drush -y updatedb