Merge pull request #1114 from zklosko/fix-jekyll-build
Fix jekyll build
This commit is contained in:
commit
fd1449674c
4 changed files with 17 additions and 22 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -17,4 +17,5 @@ airtime_mvc/tests/log/*.log
|
|||
.DS_Store
|
||||
.idea/
|
||||
/docs/_site/*
|
||||
/docs/.jekyll-cache/*
|
||||
/docs/.jekyll-cache/*
|
||||
/docs/.gems/*
|
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
@ -67,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: "docs/jekyll.sh"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
# Installing Jekyll
|
||||
# This script does not work and exists as a skeleton for
|
||||
# someone to use to get Jekyll building outside of GitHub
|
||||
|
||||
echo "Installing Ruby"
|
||||
sudo apt-get install ruby-full build-essential zlib1g-dev
|
||||
|
||||
export GEM_HOME=".gems"
|
||||
export PATH=".gems/bin:$PATH"
|
||||
|
||||
echo "Installing Jekyll"
|
||||
cd docs
|
||||
gem install jekyll bundler
|
||||
|
||||
# Running Jekyll
|
||||
bundle exec jekyll serve --watch --port 8888
|
||||
|
||||
echo "Visit http://localhost:8888 to see the LibreTime website."
|
15
jekyll.sh
Normal file
15
jekyll.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#/bin/bash
|
||||
|
||||
echo "Installing Ruby"
|
||||
apt-get update -y && apt-get install -y ruby-full build-essential zlib1g-dev
|
||||
|
||||
export GEM_HOME=".gems"
|
||||
export PATH=".gems/bin:$PATH"
|
||||
|
||||
echo "Installing Jekyll"
|
||||
|
||||
cd docs
|
||||
gem install jekyll bundler
|
||||
|
||||
# Running Jekyll
|
||||
jekyll serve
|
Loading…
Add table
Add a link
Reference in a new issue