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:
parent
d1949464e2
commit
70cdf7c602
6 changed files with 18 additions and 1 deletions
13
distillery/utils/blind_update.sh
Normal file
13
distillery/utils/blind_update.sh
Normal 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
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This utility script can be used to configure the trusted host settings inside of settings.php.
|
||||
# It doesn't take care of corner cases and should only be used when needed
|
||||
# It doesn't take care of corner cases and should only be used when needed.
|
||||
|
||||
INSTANCE_DOMAIN="$(hostname -f)"
|
||||
chmod u+w web/sites/default/settings.php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue