| layout | title | questions | objectives | time_estimation | key_points | contributors | ||||
|---|---|---|---|---|---|---|---|---|---|---|
tutorial_hands_on |
Generating PDF artefacts of the website |
|
|
10m |
|
|
Introduction
{:.no_toc}
The website with the training material can be run locally. Sometimes, it is also interesting to freeze the tutorials or to get PDFs of the tutorials.
Agenda
In this tutorial, you will learn how to run a local instance of the GTN website:
- TOC {:toc}
{: .agenda}
Generate PDFs artifact
To generate the PDFs, a command make pdf is given. This command:
- Launches a detached Jekyll server to serve the website
- Generates the PDFs of the tutorials by calling Chrome via command line
- Generates the PDFs of the slide decks by calling decktape
{% icon hands_on %} Hands-on: Checking the website generation locally
- Install Chrome
- For OSX, install the Chrome browser
- For Ubuntu, follow these instructions
- Generate the PDFs:
make pdf- Check the generated PDFs in
_pdffolder {: .hands_on}
Conclusion
{:.no_toc}