diff --git a/Vagrantfile b/Vagrantfile index 3125f1435..19650274e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,8 +10,6 @@ Vagrant.configure("2") do |config| # liquidsoap input harbors for instreaming (ie. /master) config.vm.network "forwarded_port", guest: 8001, host:8001 config.vm.network "forwarded_port", guest: 8002, host:8002 - # for Jekyll serve - config.vm.network "forwarded_port", guest: 8888, host:8888 # make sure we are using nfs (doesn't work out of the box with debian) nfsPath = "." @@ -69,9 +67,6 @@ Vagrant.configure("2") do |config| # Provision LibreTime config.vm.provision "install", type: "shell", inline: "cd /vagrant; ./install %s --web-port=8080" % installer_args - - # Provision docs - config.vm.provision "build-site-jekyll", type: "shell", path: "./jekyll.sh" end end diff --git a/jekyll.sh b/jekyll.sh index ff9fda15c..aa8af1ab0 100644 --- a/jekyll.sh +++ b/jekyll.sh @@ -1,6 +1,4 @@ -# Installing Jekyll -# This script does not work and exists as a skeleton for -# someone to use to get Jekyll building outside of GitHub +#/bin/bash echo "Installing Ruby" apt-get update -y && apt-get install -y ruby-full build-essential zlib1g-dev @@ -10,16 +8,8 @@ export PATH=".gems/bin:$PATH" echo "Installing Jekyll" -# Picking different directory if installing with Vagrant -localUser=$(who am i | awk '{print $1}') -if [ $localUser == vagrant ] -then - cd /vagrant/docs -else - cd docs -fi - +cd docs gem install jekyll bundler # Running Jekyll -jekyll serve --port 8888 --host 0.0.0.0 +jekyll serve