version 1
This commit is contained in:
14
tools/inst_plugins
Executable file
14
tools/inst_plugins
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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