Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Latest commit

 

History

History
47 lines (28 loc) · 1.73 KB

README.md

File metadata and controls

47 lines (28 loc) · 1.73 KB

Archived

This project has been discontinued, and will be archived. This project hasn't been updated since Ubuntu 14.04, and we have no future plans to keep it up to date with the latest Ubuntu versions.

The project will be taken down from https://tour.ubuntu.com, and that domain will be redirected to https://www.ubuntu.com/desktop/features. The code will remain here for the foreseeable future for posterity.


An interactive web demo of the latest version of Ubuntu for desktops.

Run the site locally

The site is just flat HTML pages, so running the site is as easy as opening en/index.html with a browser.

However, if you want to run a local server, first install Docker (on Linux you may need to add your user to the docker group), and then use the ./run script:

./run

Once the containers are setup, you can visit http://127.0.0.1:8012/en/ in your browser.

Translate into other languages

You can use the translation script to generate translated versions of the tour.

First, install python polib (sudo apt install python-polib on Ubuntu), then run:

translate-html/bin/translate-html -t

This will generate translated versions of the en/ folder for each available language.

For further help using the translator, run translate-html/bin/translate-html --help.

Compress the site files

To ensure the Online Tour has optimal download page weight and in-browser performance. To do this, install Docker as mentioned above, and run:

./run build