2020-05-19 17:27:24 +02:00
|
|
|
# Installing Jekyll
|
2020-05-19 23:10:56 +02:00
|
|
|
# This script does not work and exists as a skeleton for
|
|
|
|
# someone to use to get Jekyll building outside of GitHub
|
2020-05-19 17:27:24 +02:00
|
|
|
|
|
|
|
echo "Installing Ruby"
|
2020-11-18 20:18:27 +01:00
|
|
|
apt-get update -y && apt-get install -y ruby-full build-essential zlib1g-dev
|
2020-05-19 17:27:24 +02:00
|
|
|
|
2020-05-19 23:10:56 +02:00
|
|
|
export GEM_HOME=".gems"
|
|
|
|
export PATH=".gems/bin:$PATH"
|
2020-05-19 17:27:24 +02:00
|
|
|
|
|
|
|
echo "Installing Jekyll"
|
|
|
|
cd docs
|
|
|
|
gem install jekyll bundler
|
|
|
|
|
|
|
|
# Running Jekyll
|
2020-11-18 20:16:29 +01:00
|
|
|
jekyll serve --port 8888
|