Created
March 19, 2020 20:09
-
-
Save philoSurfer/aa954928db01d3104da72dc56509ab65 to your computer and use it in GitHub Desktop.
Lando smasher for MacOS
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
#!/bin/sh | |
# file: landoSmash.sh | |
echo "LANDO SMASH!!!"; | |
# change to your project folder | |
cd ~/clones/presence; | |
# exports db if it is bootstrappable (word?) | |
echo "Exporting dB...\n"; | |
lando db-export; | |
killall Docker; | |
# nuke all lando settings and images | |
rm -Rf ~/.lando; | |
# do composer stuff | |
rm -Rf vendor/ node_modules/ web/themes/custom/limber/node_modules web/core/ web/modules/contrib/; | |
composer install; | |
lando start; | |
say "all done."; | |
echo "ALL DONE =)"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment