The website https://tails.boum.org/ is built using Ikiwiki from source code that is available in our main Git repository, along with the rest of the Tails code.
You can build a local copy of the website on your computer. Building the website produces a set a HTML pages stored on your system that you can open in your usual web browser even while working offline. Doing so is useful for writers and designers to see how their changes will apply on the website.
Build the website in Linux
If you are in Tails, see the dedicated instructions.
Update the list of available packages:
sudo apt update
Install the required packages:
sudo apt install \ ikiwiki \ libyaml-perl \ libyaml-libyaml-perl \ libyaml-syck-perl \ perlmagick \ po4a \ ruby
Clone our main Git repository:
git clone https://gitlab.tails.boum.org/tails/tails.git
The source code of the website is located in the wiki/src/ folder.
Build the website:
cd tails && \ ./build-website
To accelerate the build, you can disable some languages by editing the po_slave_languages parameter in the file ikiwiki.setup.
You can now browse your local copy of the website in the following folder:
config/chroot_local-includes/usr/share/doc/tails/website/
Build the website in Tails
Create and configure a Persistent Storage and turn on the following features:
- Personal Data
- Additional Software
Restart Tails, unlock the Persistent Storage, and set up an administration password.
Update the list of available packages:
sudo apt update
Install the required packages:
sudo apt install \ ikiwiki \ libyaml-perl \ libyaml-libyaml-perl \ libyaml-syck-perl \ perlmagick \ po4a \ ruby
Clone our main Git repository in the Persistent folder:
cd ~/Persistent/ && \ git clone https://gitlab.tails.boum.org/tails/tails.git
The source code of the website is located in the wiki/src/ folder.
Build the website:
cd tails && \ ./build-website --set destdir="/home/amnesia/Persistent/Tor Browser/tails" "$@"
To accelerate the build, you can disable some languages by editing the po_slave_languages parameter in the file ikiwiki.setup.
You can now visit the following link in Tor Browser to browse your local copy of the website:
file:///home/amnesia/Persistent/Tor Browser/tails/index.en.html