Last active
August 21, 2018 17:55
-
-
Save alexfinnarn/41364d0edb05eeb8831ff13ff4f8948b to your computer and use it in GitHub Desktop.
install codebase
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
# Clone down Backdrop. | |
cd $ROOT_DIR | |
echo "Cloning Backdrop repo..." | |
git clone --branch 1.x --depth 1 https://github.com/backdrop/backdrop.git ${ROOT_DIR}/backdrop | |
# ...bunch more stuff... | |
# Clone down and install contrib modules. | |
for i in $(echo ${ADD_CONTRIB_MODULES} | sed "s/ / /g") | |
do | |
git clone https://github.com/backdrop-contrib/${i}.git ${ROOT_DIR}/backdrop/modules/${i} | |
done | |
$HOME/.composer/vendor/bin/drush en ${ADD_CONTRIB_MODULES} -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment