Created
December 18, 2020 23:15
-
-
Save MarcPartensky/af538373dfbdae947ba4e0b3f514f40f to your computer and use it in GitHub Desktop.
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
# Installs programs to run my website | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew install docker docker-machine openssl | |
brew cask install virtualbox | |
docker-machine create --driver virtualbox default | |
docker-machine env default | |
eval "$(docker-machine env default)" | |
# Run my website (finally) | |
docker run -it -e SECRET_KEY=$(openssl rand -base64 21) -p 8000:8000 marcpartensky/website; | |
# Get rid of all these installations | |
function uninstall-website-of-marc-installations { | |
docker-machine stop default | |
docker system prune -a | |
brew uninstall docker docker-machine | |
brew cask uninstall virtualbox | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment