Updated Vagrantfile
This commit is contained in:
parent
39d8947d4a
commit
3374b6ca75
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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."
|
Loading…
Reference in New Issue