Skip to content

Instantly share code, notes, and snippets.

@underhilllabs
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save underhilllabs/9978615 to your computer and use it in GitHub Desktop.
Save underhilllabs/9978615 to your computer and use it in GitHub Desktop.
Shell script to move Dev file system over to the Test.

deploy-dev-to-test.sh

cd ~/dance-subdomains/
chmod -R 777 dance-test
rm -rf dance-test
cp -r dance-dev dance-test

inside sites, there are the following directories

  • default
    • default.settings.php
  • dance-test.example.com
    • settings.php
  • dance-dev.example.com
    • settings.php

inside each settings.php

  • Set Site Name
$conf['site_name'] = 'DANCE Test Site';
$conf['site_name'] = 'DANCE Dev Site';
  • Set site database
@Favorwilliams
Copy link

My Pleasure to write you,
My name is Favor Williams,
My email address is
( Favor24@live.com)
Am interested to know
more about you,
Contact me for my
photo and other
important issue via,

Favor24@live.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment