Last active
December 22, 2015 10:08
-
-
Save lrobeson/6456372 to your computer and use it in GitHub Desktop.
Bash alias to prepare a cloned Drupal 7 site that doesn't include files directory or settings.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create settings.php, file directories, set permissions, and return to site root | |
alias prepare-d7-site="cd sites/default && cp default.settings.php settings.php && chmod a+w settings.php && mkdir files && chmod a+w files && mkdir private && mkdir tmp && chmod a+w private && chmod a+w tmp && cd .. && cd .." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment