Skip to content

Instantly share code, notes, and snippets.

@rowland007
Created September 13, 2019 06:59
Show Gist options
  • Save rowland007/5b14aa4fcdd94fa63b76b9ab77b06f90 to your computer and use it in GitHub Desktop.
Save rowland007/5b14aa4fcdd94fa63b76b9ab77b06f90 to your computer and use it in GitHub Desktop.
Installs the latest version of python-pip and mkdocs w/ themes
#!/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