Follow initial install instructions here
Add the following to the bottom (but inside the <IfModule />
block) of /etc/apache2/mods-available/pagespeed.conf
#!/bin/sh | |
PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"` | |
STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` | |
# Determine if a file list is passed | |
if [ "$#" -eq 1 ] | |
then | |
oIFS=$IFS | |
IFS=' |
Follow initial install instructions here
Add the following to the bottom (but inside the <IfModule />
block) of /etc/apache2/mods-available/pagespeed.conf
#!/bin/bash -v | |
#Remote | |
remote_user= | |
remote_ip= | |
remote_db= | |
remote_db_user= | |
remote_db_password= | |
#Local |
<VirtualHost *:80>
ServerName projectname.local
ProxyPass / http://localhost:8001/
ProxyPassReverse / http://localhost:8001/
ProxyPreserveHost On
</VirtualHost>
#PhpStorm | |
/.idea | |
#Vendor (e.g. Composer) | |
/vendor/ | |
#Wordpress Core Files | |
index.php | |
license.txt | |
readme.html |
#!/bin/bash -x | |
# -v verbose Print each command to stdout before executing it | |
# -x xtrace Similar to -v, but expands commands | |
#Remote User | |
user=_enter_user_ | |
#Remote Group | |
group=www-data |