Skip to content

Commit 53fb460

Browse files
feat: Configure lesson (#5)
* Add lesson information to the config.yaml. * Adjust citation and developer information files. * Update the README with development quickstart information.
1 parent c260131 commit 53fb460

File tree

3 files changed

+37
-96
lines changed

3 files changed

+37
-96
lines changed

CITATION.cff

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
# This template CITATION.cff file was generated with cffinit.
2-
# Visit https://bit.ly/cffinit to replace its contents
3-
# with information about your lesson.
4-
# Remember to update this file periodically,
5-
# ensuring that the author list and other fields remain accurate.
6-
71
cff-version: 1.2.0
8-
title: FIXME
2+
title: Reproducible Machine Learning Workflows for Scientists
93
message: >-
104
Please cite this lesson using the information in this file
115
when you refer to it in publications, and/or if you
126
re-use, adapt, or expand on the content in your own
137
training material.
14-
type: dataset
8+
type: software
159
authors:
16-
- given-names: FIXME
17-
family-names: FIXME
10+
- given-names: "Matthew"
11+
family-names: "Feickert"
12+
orcid: "https://orcid.org/0000-0003-4124-7862"
13+
- given-names: "Chris"
14+
family-names: "Endemann"
15+
- given-names: "Ryan"
16+
family-names: "Bemowski"
1817
abstract: >-
19-
FIXME Replace this with a short abstract describing the
20-
lesson, e.g. its target audience and main intended
21-
learning objectives.
18+
Provide an introduction to creating multi-platform fully reproducible
19+
hardware accelerated and machine learning environment using Pixi.
2220
license: CC-BY-4.0

README.md

Lines changed: 14 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,25 @@
11
# The Carpentries Workbench Template Markdown Lesson
22

3-
This lesson is a template lesson that uses [The Carpentries Workbench][workbench].
3+
This lesson is a template lesson that uses [The Carpentries Workbench][workbench].
44

5-
## Note about lesson life cycle stage
6-
Although the `config.yaml` states the life cycle stage as pre-alpha, **the template is stable and ready to use**. The life cycle stage is preset to `"pre-alpha"` as this setting is appropriate for new lessons initialised using the template.
5+
## Using the lesson
76

8-
## Create a new repository from this template
7+
To step through the lesson, please follow it on its website at https://carpentries-incubator.github.io/reproducible-ml-workflows/
98

10-
To use this template to start a new lesson repository,
11-
make sure you're logged into Github.
12-
Visit https://github.com/carpentries/workbench-template-md/generate
13-
and follow the instructions.
14-
Checking the 'Include all branches' option will save some time waiting for the first website build
15-
when your new repository is initialised.
9+
## Developing the lesson
1610

17-
If you have any questions, contact [@tobyhodges](https://github.com/tobyhodges)
11+
Similar to the lesson itself, development of the lesson uses [Pixi](https://pixi.sh/) to have unified multi-platform reproducible environments.
12+
To start developing:
1813

19-
## Configure a new lesson
14+
1. [Install Pixi](https://pixi.sh/)
15+
2. [Fork this repository on GitHub](https://github.com/carpentries-incubator/reproducible-ml-workflows/fork)
16+
3. Clone your fork and navigate to the top level of the repository
17+
4. Run
2018

21-
Follow the steps below to
22-
complete the initial configuration of a new lesson repository built from this template:
19+
```
20+
pixi run start
21+
```
2322

24-
1. **Make sure GitHub Pages is activated:**
25-
navigate to _Settings_,
26-
select _Pages_ from the left sidebar,
27-
and make sure that `gh-pages` is selected as the branch to build from.
28-
If no `gh-pages` branch is available, check _Actions_ to see if the first
29-
website build workflows are still running.
30-
The branch should become available when those have completed.
31-
1. **Adjust the `config.yaml` file:**
32-
this file contains global parameters for your lesson site.
33-
Individual fields within the file are documented with comments (beginning with `#`)
34-
At minimum, you should adjust all the fields marked 'FIXME':
35-
- `title`
36-
- `created`
37-
- `keywords`
38-
- `life_cycle` (the default, _pre-alpha_, is the appropriate for brand new lessons)
39-
- `contact`
40-
1. **Annotate the repository** with site URL and topic tags:
41-
navigate back to the repository landing page and
42-
click on the gear wheel/cog icon (similar to ⚙️)
43-
at the top-right of the _About_ box.
44-
Check the "Use your GitHub Pages website" option,
45-
and [add some keywords and other annotations to describe your lesson](https://cdh.carpentries.org/the-carpentries-incubator.html#topic-tags)
46-
in the _Topics_ field.
47-
At minimum, these should include:
48-
- `lesson`
49-
- the life cycle of the lesson (e.g. `pre-alpha`)
50-
- the human language the lesson is written in (e.g. `deutsch`)
51-
1. **Adjust the
52-
`CITATION.cff`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, and `LICENSE.md` files**
53-
as appropriate for your project.
54-
- `CITATION.cff`:
55-
this file contains information that people can use to cite your lesson,
56-
for example if they publish their own work based on it.
57-
You should [update the CFF][cff-sandpaper-docs] now to include information about your lesson,
58-
and remember to return to it periodically, keeping it updated as your
59-
author list grows and other details become available or need to change.
60-
The [Citation File Format home page][cff-home] gives more information about the format,
61-
and the [`cffinit` webtool][cffinit] can be used to create new and update existing CFF files.
62-
- `CODE_OF_CONDUCT.md`:
63-
if you are using this template for a project outside The Carpentries,
64-
you should adjust this file to describe
65-
who should be contacted with Code of Conduct reports,
66-
and how those reports will be handled.
67-
- `CONTRIBUTING.md`:
68-
depending on the current state and maturity of your project,
69-
the contents of the template Contributing Guide may not be appropriate.
70-
You should adjust the file to help guide contributors on how best
71-
to get involved and make an impact on your lesson.
72-
- `LICENSE.md`:
73-
in line with the terms of the CC-BY license,
74-
you should ensure that the copyright information
75-
provided in the license file is accurate for your project.
76-
1. **Update this README with
77-
[relevant information about your lesson](https://carpentries.github.io/lesson-development-training/collaborating-newcomers.html#readme)**
78-
and delete this section.
23+
and then open up the served site in your local browser and carry on with development.
7924

80-
[cff-home]: https://citation-file-format.github.io/
81-
[cff-sandpaper-docs]: https://carpentries.github.io/sandpaper-docs/editing.html#making-your-lesson-citable
82-
[cffinit]: https://citation-file-format.github.io/cff-initializer-javascript/
8325
[workbench]: https://carpentries.github.io/sandpaper-docs/

config.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# lc: Library Carpentry
99
# cp: Carpentries (to use for instructor training for instance)
1010
# incubator: The Carpentries Incubator
11-
#
11+
#
1212
# This option supports custom types so lessons can be branded
1313
# and themed with your own logo and alt-text (see `carpentry_description`)
1414
# See https://carpentries.github.io/sandpaper-docs/editing.html#adding-a-custom-logo
@@ -17,30 +17,31 @@ carpentry: 'incubator'
1717
# Alt-text description of the lesson.
1818
carpentry_description: 'Lesson Description'
1919

20+
# c.f. https://carpentries.github.io/sandpaper-docs/introduction.html
2021
# Overall title for pages.
21-
title: 'Lesson Title' # FIXME
22+
title: 'Reproducible Machine Learning Workflows for Scientists'
2223

2324
# Date the lesson was created (YYYY-MM-DD, this is empty by default)
24-
created: ~ # FIXME
25+
created: 2025-03-16
2526

2627
# Comma-separated list of keywords for the lesson
27-
keywords: 'software, data, lesson, The Carpentries' # FIXME
28+
keywords: 'software, lesson, The Carpentries, machine learning, CUDA, hardware acceleration, reproducible'
2829

2930
# Life cycle stage of the lesson
3031
# possible values: pre-alpha, alpha, beta, stable
31-
life_cycle: 'pre-alpha' # FIXME
32+
life_cycle: 'pre-alpha'
3233

3334
# License of the lesson
3435
license: 'CC-BY 4.0'
3536

3637
# Link to the source repository for this lesson
37-
source: 'https://github.com/carpentries/workbench-template-md' # FIXME
38+
source: 'https://github.com/carpentries-incubator/reproducible-ml-workflows'
3839

3940
# Default branch of your lesson
4041
branch: 'main'
4142

4243
# Who to contact if there are any issues
43-
contact: '[email protected]' # FIXME
44+
4445

4546
# Navigation ------------------------------------------------
4647
#
@@ -65,17 +66,17 @@ contact: '[email protected]' # FIXME
6566
# - another-learner.md
6667

6768
# Order of episodes in your lesson
68-
episodes:
69+
episodes:
6970
- introduction.md
7071

7172
# Information for Learners
72-
learners:
73+
learners:
7374

7475
# Information for Instructors
75-
instructors:
76+
instructors:
7677

7778
# Learner Profiles
78-
profiles:
79+
profiles:
7980

8081
# Customisation ---------------------------------------------
8182
#

0 commit comments

Comments
 (0)