Skip to content

temporalio/edu-102-ruby-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Repository for Temporal 102 (Ruby)

This repository provides code used for exercises and demonstrations included in the Ruby version of the Temporal 102 training course.

It's important to remember that the example code used in this course was designed to support learning a specific aspect of Temporal, not to serve as a ready-to-use template for implementing a production system.

For the exercises, make sure to run temporal server start-dev --ui-port 8080 --db-filename clusterdata.db in one terminal to start the Temporal server. For more details on this command, please refer to the Setting up a Local Development Environment chapter in the course. Note: If you're using the Codespaces environment to run this exercise, you can skip this step.

Hands-On Exercises

Directory Name Exercise
exercises/durable-execution Exercise 1
exercises/testing-code Exercise 2
exercises/debug-activity Exercise 3

Examples for Self-Study

Directory Name Description
samples/age-estimation Calls a remote API to estimate the age of a person given their name
samples/using-hashes-as-input-and-output Demonstrate how hashes are passed in as input and output

Reference

The following links provide additional information that you may find helpful as you work through this course.

Exercise Environment for this Course

You can launch an exercise environment for this course using GitHub Codespaces by following this walkthrough.

Alternatively, you can follow these instructions to set up your own Temporal Cluster with Docker Compose, which you can use as an exercise environment.

Install Ruby Dependencies

All Ruby libraries for this course should be installed via Bundler. If you are running these exercises in the course's Codespaces environment, the dependencies are already installed for you and you can skip this section.

  1. Open a terminal window in the environment and change directories to the root directory of the edu-102-ruby-code repository
  2. Run the following command to install dependencies
$ bundle install

Exercise Environment for this Course

You can launch an exercise environment for this course using GitHub Codespaces by following this walkthrough.

Alternatively, you can perform these exercises directly on your computer. Refer to the instructions about setting up a local development environment, which you'll find in the "About this Course" chapter.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages