Cleaning up
This commit is contained in:
parent
6540a34a9b
commit
69f06a6d6f
3 changed files with 19 additions and 118 deletions
18
docs/scripts/_jekyll.sh
Normal file
18
docs/scripts/_jekyll.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Installing Jekyll
|
||||
|
||||
echo "Installing Ruby"
|
||||
sudo apt-get install ruby-full build-essential zlib1g-dev
|
||||
|
||||
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
|
||||
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
|
||||
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
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."
|
|
@ -5,4 +5,4 @@ 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
|
||||
pip3 install mkdocs
|
Loading…
Add table
Add a link
Reference in a new issue