initial_commit
This commit is contained in:
16
tools/inst_plugins.sh
Executable file
16
tools/inst_plugins.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
dc_wp() {
|
||||
docker compose exec -u www-data wordpress wp $@
|
||||
}
|
||||
|
||||
dc_wp plugin install redis-cache --activate
|
||||
dc_wp redis enable
|
||||
|
||||
dc_wp plugin install wp-mail-smtp --activate
|
||||
|
||||
echo "Done." >&2
|
||||
|
||||
Reference in New Issue
Block a user