Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add terminal sessions to the quick start guide #292

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions _episodes/01-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ keypoints:
to run ESMValTool as quickly as possible without having to go through the
whole tutorial"
- "Use the `module load` command to load the ESMValTool environment,
see the [Installation][lesson-installation]
episode for more details and use `esmvaltool --help` to check the ESMValTool
environment"
see the Installation episode for more details and use `esmvaltool --help` to
check the ESMValTool environment"
- "Use `esmvaltool config get_config_user` to create the ESMValTool user
configuration file"
- "Use `esmvaltool run <recipe>.yml` to run a recipe"
Expand Down Expand Up @@ -59,6 +58,8 @@ keypoints:
> {: .language-bash}
{: .challenge}

{% include load_environment.html %}

> ## How do I configure ESMValTool?
>
> - Create the ESMValTool user configuration file (the file is written by
Expand Down
20 changes: 20 additions & 0 deletions _includes/load_environment.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<blockquote class="solution">
<h2 id="example-video">Example video</h2>

<div id="demo"></div>
<script src="../assets/js/asciinema-player.min.js"></script>
<script>
AsciinemaPlayer.create(
'../fig/load_environment.cast',
document.getElementById('demo'), {
rows: 24,
cols: 110,
autoPlay: false,
speed: 2,
fit: false,
terminalFontSize: "12px",
idleTimeLimit: 1,
loop: true,
});
</script>
</blockquote>
1 change: 1 addition & 0 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/bootstrap-theme.css" />
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/lesson.css" />
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/syntax.css" />
<link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/asciinema-player.css" />

{% include favicons.html %}

Expand Down
Loading
Loading