From 1d188c127a7bfe5c67c80ccce5e4f72324622933 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 14 Jul 2024 17:57:00 -0300 Subject: Provision: split between provision and provision-host --- scripts/provision | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'scripts/provision') diff --git a/scripts/provision b/scripts/provision index b4fe532..d966c9d 100755 --- a/scripts/provision +++ b/scripts/provision @@ -7,7 +7,7 @@ DIRNAME="`dirname $0`" # Basic dependencies -DEPENDENCIES="mkdocs apache2 python3-pip pandoc pandoc-citeproc" +DEPENDENCIES="mkdocs python3-pip pandoc" # PyPI dependencies DEPENDENCIES_PIP="mkdocs-bibtex mkdocs-material mkdocs-awesome-pages-plugin mkdocs-static-i18n mkdocs-macros-plugin" @@ -25,25 +25,3 @@ $SUDO apt install -y $DEPENDENCIES # Install python dependencies pip3 install $DEPENDENCIES_PIP - -# Configure virtual host for the local service -cat <<-EOF | $SUDO tee /etc/apache2/sites-available/local.conf > /dev/null - - ServerName estudo.local - DocumentRoot "/srv/shared/site" - - - Options Indexes FollowSymLinks - AllowOverride All - Require all granted - - -EOF - -# Enable virtual host -$SUDO a2ensite local -$SUDO systemctl reload apache2 - -# Configure PATH -mkdir -p ~/.custom -echo 'export PATH=$PATH:/srv/shared/scripts' > ~/.custom/profile -- cgit v1.2.3