Created
September 13, 2019 06:59
-
-
Save rowland007/5b14aa4fcdd94fa63b76b9ab77b06f90 to your computer and use it in GitHub Desktop.
Installs the latest version of python-pip and mkdocs w/ themes
This file contains hidden or 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/bash -e | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
# Download the latest version of python-pip | |
wget https://bootstrap.pypa.io/get-pip.py | |
# Install pip | |
sudo python get-pip.py | |
# Install mkdocs and themes | |
sudo pip install mkdocs | |
pip install mkdocs-cinder | |
pip install mkdocs-material | |
pip install mkdocs-rtd-dropdown | |
pip install mkdocs-windmill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment