Running a course in Template Mode

If course participants need to save their work during the course and they are not comfortable using git, we suggest to create a template project in Renku. This enables students to copy the template project with the course materials, and then their own data connector where they can save their work.

This guide will walk you through how to create a project, mark that project as a template, and how to instruct your students to copy the template.

For alternative workflows for using Renku in your course, see Renku for Teaching.

First, create the course project:

  1. Create a Renku project as explained in How to create a new project

  2. Add a code repository as explained in How to add a code repository to your project with the course tasks

  3. Add data, if needed. See our collection of How To Guides for options for creating data connectors.

    Untitled

    <aside> <img src="/icons/report_orange.svg" alt="/icons/report_orange.svg" width="40px" />

    If you add data connectors to your template project, you must make the data connectors public in order for students to be able to create copies that include the data connector. For more information, see Linking Data Connectors .

    </aside>

  4. Create a session launcher for working in your project:

    1. Select an environment:

      1. Check out the environments available in Renku via How to add a session launcher to your project. If these are sufficient for your course, use them!
      2. If you need to customize the environment for your course, you can create a custom environment yourself via How to use your own docker image for a session launcher, or Contact us and we can create a custom environment for your course!
    2. Set the session launcher’s default resource class to your course’s resource pool, as described in How to select compute resources for your session.

      <aside> <img src="/icons/info-alternate_blue.svg" alt="/icons/info-alternate_blue.svg" width="40px" />

      In order to ensure adequate resources for running the project and to control the consumption of the sessions, remember to assign to the session launcher with the adequate resource class when adding the session launcher to your project. Learn more about custom resource pools for courses: Request a Custom Resource Pool.

      </aside>

Then, mark your project to a template project:

  1. In the project Settings, turn on the toggle to mark your project as a Template project.

image.png

By marking your project as a template project: