Giving Jekyll a place in Vagrantfile

This commit is contained in:
Zachary Klosko 2020-11-18 14:16:29 -05:00
parent 388733ffa3
commit 852cf63834
2 changed files with 4 additions and 2 deletions

4
Vagrantfile vendored
View File

@ -10,6 +10,8 @@ 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,7 +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 "build-site-jekyll", type: "shell", path: "docs/jekyll.sh"
config.vm.provision "build-site-jekyll", type: "shell", path: "./jekyll.sh"
end
end

View File

@ -13,4 +13,4 @@ cd docs
gem install jekyll bundler
# Running Jekyll
jekyll serve
jekyll serve --port 8888