Updated Vagrantfile

This commit is contained in:
Zachary Klosko 2020-07-02 16:49:28 -04:00
parent 39d8947d4a
commit 3374b6ca75
4 changed files with 1 additions and 20 deletions

3
Vagrantfile vendored
View File

@ -71,8 +71,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "install", type: "shell", inline: "cd /vagrant; ./install %s --web-port=8080" % installer_args
# Provision docs
# config.vm.provision "install-mkdocs", type: "shell", path: "docs/scripts/install.sh"
# config.vm.provision "start-mkdocs", type: "shell", path: "docs/scripts/serve.sh"
config.vm.provision "build-site-jekyll", type: "shell", path: "docs/jekyll.sh"
end
end

View File

@ -1,8 +0,0 @@
#! /bin/sh
echo "Updating Apt."
apt-get update > /dev/null
echo "Ensuring Pip is installed."
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3-pip > /dev/null
echo "Ensuring Mkdocs is installed."
pip3 install mkdocs

View File

@ -1,10 +0,0 @@
#! /bin/sh
cd /vagrant
echo "Stopping any running Mkdocs servers."
pkill mkdocs
echo "Building Mkdocs documentation."
mkdocs build --clean -q > /dev/null
echo "Launching Mkdocs server."
mkdocs serve > /dev/null 2>&1 &
echo "Visit http://localhost:8888 to see the LibreTime documentation."