Codebase for the Ubuntu tour - an online demo showcasing the main features of the Ubuntu OS for computers.
JavaScript HTML CSS Python Shell Makefile Other
Switch branches/tags
Latest commit 86c0a29 May 23, 2017 @barrymcgee barrymcgee Merge pull request #5 from nottrobin/run-script
./run script
Permalink
Failed to load latest commit information.
.github create standard issue template Aug 16, 2016
chromeless (this commit against 12.04 branch) Apr 23, 2012
css Add an erroneous class just to test Feb 18, 2016
data (this commit against 12.04 branch) Apr 23, 2012
debian (this commit against 12.04 branch) Apr 23, 2012
en untabify Feb 6, 2016
img Further-compressed images Feb 5, 2016
js Update to latest analytics snipped Feb 5, 2016
pie First full Oneiric release of tour Oct 14, 2011
po-html Launchpad automatic translations update. Jan 14, 2016
po (this commit against 12.04 branch) Apr 23, 2012
rev Add gulp revisioning of JS/CSS Jan 28, 2016
translate-html Added documentation Jan 20, 2012
videos First full Oneiric release of tour Oct 14, 2011
zh-CN untabify Feb 6, 2016
.env ./run script May 20, 2017
.gitignore Standard gitignore May 21, 2017
AUTHORS As a first step towards packaging properly: add autotools usage for b… Jan 24, 2012
COPYING As a first step towards packaging properly: add autotools usage for b… Jan 24, 2012
ChangeLog As a first step towards packaging properly: add autotools usage for b… Jan 24, 2012
Gulpfile.js Update README Feb 6, 2016
Makefile.am (this commit against 12.04 branch) Apr 23, 2012
NEWS As a first step towards packaging properly: add autotools usage for b… Jan 24, 2012
README.md ./run script May 20, 2017
autogen.sh As a first step towards packaging properly: add autotools usage for b… Jan 24, 2012
configure.ac As a first step towards packaging properly: add autotools usage for b… Jan 24, 2012
favicon.ico First full Oneiric release of tour Oct 14, 2011
package.json ./run script May 20, 2017
run ./run script May 20, 2017
videoplayer.swf First full Oneiric release of tour Oct 14, 2011
yarn.lock ./run script May 20, 2017

README.md

tour.ubuntu.com

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