Jump to: navigation, search

Working on Jekyll inside Whonix Workstation


Introduction[edit]

The Whonix homepage may undergo a few changes in the future to make it more appealing. This may or may not happen using the Ruby based static site generator Jekyll. That is why the following guide will explain how to use it inside a Whonix Workstation.

Installation[edit]

Everything here needs to be done inside a Whonix Workstation.

(Iceweasel is required, because Tor Browser no longer supports visiting 127.0.0.1. Any other browser would work as well.)

Open a terminal. As normal, not root user!

Get into your home folder.

cd ~

Install Ruby and the necessary libraries:

sudo apt-get install ruby ruby-dev make gcc nodejs

Now, install Jekyll via Ruby using the "gem" command:

sudo gem install jekyll

Check whether Jekyll has been installed properly:

jekyll -v

This should output something along the lines of "jekyll 3.1.6".

Install github pages and git, as these tools are often necessary for managing Jekyll based websites:

sudo gem install github-pages
sudo apt-get install git

Now, create a new Jekyll site using the following command (replace "insert site name" with whatever you want the site to be named):

jekyll new "insert site name"
cd "insert site name"

Start a local webserver:

jekyll serve

Go to http://127.0.0.1/4000 and look at your fresh site. You can stop the server from running by pressing "Ctrl+C".

You may edit this page by using the files in the folder located in "home/user/"insert site name"".


Random News:

Bored? Want to chat with other Whonix users? Join us in IRC chat (Webchat).


Impressum | Datenschutz | Haftungsausschluss

https | (forcing) onion
Share: Twitter | Facebook | Google+
This is a wiki. Want to improve this page? Help welcome, volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation. Whonix (g+) is a licensee of the Open Invention Network. Unless otherwise noted above, content of this page is copyrighted and licensed under the same Free (as in speech) license as Whonix itself.