#!/bin/bash # # Provisioner # # Parameters DIRNAME="`dirname $0`" # Basic dependencies DEPENDENCIES="mkdocs apache2 python3-pip pandoc" # Dependenicies for genesis-get DEPENDENCIES="$DEPENDENCIES tor python3-requests python3-bs4 python3-socks python3-pybtex" # PyPI dependencies DEPENDENCIES_PIP="mkdocs-bibtex mkdocs-material mkdocs-awesome-pages-plugin mkdocs-static-i18n" # Ensure an up-to-date system sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean # Install dependencies sudo apt install -y $DEPENDENCIES # Install python dependencies pip3 install --break-system-packages $DEPENDENCIES_PIP