Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit c9fe41c

Browse files
committed
add debug-bar plugin with timber extension automatically
1 parent 1bf2535 commit c9fe41c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pull-production.sh

+9-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ fi
2121
# check if "jonne" ssh-host exists in ~/.ssh/config
2222

2323
if ! grep -q "Host jonne" ~/.ssh/config; then
24-
echo "Error: ssh host 'jonne' not found in ~/.ssh/config" consult README.md or modify script
24+
echo "Error: ssh host 'jonne' not found in ~/.ssh/config consult README.md or modify script"
2525
exit 1
2626
fi
2727

28+
# Eg. in ~/.ssh/config
29+
30+
# Host jonne
31+
# hostname <SSH HOSTNAME HERE!>
32+
# user <SSH USERNAME HERE!>
33+
# port <SSH PORT HERE!>
34+
2835
PROD_SSH_HOST=jonne
2936
PROD_WWW_PATH=/var/sites/jkl.hacklab.fi
3037
PROD_DOMAIN=jkl.hacklab.fi
@@ -94,6 +101,6 @@ vagrant ssh -c "wp --path=/srv/www/hacklab-jkl/public_html search-replace \"http
94101

95102
vagrant ssh -c "wp --path=$VAGRANT_WWW_PATH option update admin_email "[email protected]" --skip-plugins"
96103
vagrant ssh -c "wp --path=$VAGRANT_WWW_PATH cache flush --skip-plugins"
97-
# vagrant ssh -c "wp --path=$VAGRANT_WWW_PATH plugin deactivate two-factor-authentication --skip-plugins"
104+
vagrant ssh -c "wp --path=$VAGRANT_WWW_PATH plugin install --activate debug-bar debug-bar-timber --skip-plugins"
98105

99106
echo "Sync complete, access via http://$DEV_DOMAIN"

0 commit comments

Comments
 (0)