Script used at Customer Paradigm to pull down and setup development sites automatically.
Documentation:
- Navigate to the site's root folder
- Run
cat app/etc/local.xml
- Run
wget http://dev.customerparadigm.com/~graham/scripts/assets/downloads/cp_remote.sh && bash cp_remote.sh
- Wait until the script prompts you for your CP dev server password and supply it.
- SSH into your public_html folder on the CP dev site
- Run
cp_local
- Update app/etc/local.xml to use the dev server's MySQL credentials.