This repository was archived by the owner on Aug 28, 2024. It is now read-only.
File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 21
21
# check if "jonne" ssh-host exists in ~/.ssh/config
22
22
23
23
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"
25
25
exit 1
26
26
fi
27
27
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
+
28
35
PROD_SSH_HOST=jonne
29
36
PROD_WWW_PATH=/var/sites/jkl.hacklab.fi
30
37
PROD_DOMAIN=jkl.hacklab.fi
@@ -94,6 +101,6 @@ vagrant ssh -c "wp --path=/srv/www/hacklab-jkl/public_html search-replace \"http
94
101
95
102
vagrant ssh -c
" wp --path=$VAGRANT_WWW_PATH option update admin_email " [email protected] " --skip-plugins"
96
103
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"
98
105
99
106
echo " Sync complete, access via http://$DEV_DOMAIN "
You can’t perform that action at this time.
0 commit comments