Skip to content

Instantly share code, notes, and snippets.

@alexfinnarn
Last active August 21, 2018 17:55
Show Gist options
  • Save alexfinnarn/41364d0edb05eeb8831ff13ff4f8948b to your computer and use it in GitHub Desktop.
Save alexfinnarn/41364d0edb05eeb8831ff13ff4f8948b to your computer and use it in GitHub Desktop.
install codebase
# 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