https://github.com/temporalio/edu-101-ruby-code
Code Exercises for Temporal 101 in Ruby
https://github.com/temporalio/edu-101-ruby-code
Last synced: about 2 months ago
JSON representation
Code Exercises for Temporal 101 in Ruby
- Host: GitHub
- URL: https://github.com/temporalio/edu-101-ruby-code
- Owner: temporalio
- License: mit
- Created: 2025-05-07T02:09:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-17T16:36:58.000Z (4 months ago)
- Last Synced: 2026-03-31T08:10:19.577Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 29.3 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Code Repository for Temporal 101 (Ruby)
This repository provides code used for exercises and demonstrations included in the Ruby version of the [Temporal 101](https://learn.temporal.io/courses/temporal_101) 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/hello-workflow` | [Exercise 1](exercises/hello-workflow/README.md)
`exercises/hello-web-ui` | [Exercise 2](exercises/hello-web-ui/README.md)
`exercises/farewell-workflow` | [Exercise 3](exercises/farewell-workflow/README.md)
`exercises/finale-workflow` | [Exercise 4](exercises/finale-workflow/README.md)
## Instructor-Led Demonstrations
Directory Name | Description
:------------------------------------- | :----------------------------------------------------------------------------------
`demos/service-workflow` | [Shows a Workflow that uses a microservice](demos/service-workflow)
## Examples for Self-Study
Directory Name | Description
:------------------------------------- | :----------------------------------------------------------------------------------
`samples/greeting` | [The Ruby function with business logic for first Workflow](samples/greeting)
`samples/retry-policy` | [Example of a Workflow that has a custom Retry Policy](samples/retry-policy)
## Reference
The following links provide additional information that you may find helpful as you work through this course.
* [General Temporal Documentation](https://docs.temporal.io/)
* [Temporal Ruby SDK Documentation](https://ruby.temporal.io/)
* [Ruby Language Documentation](https://www.ruby-lang.org/en/documentation/)
## Exercise Environment for this Course
You can launch an exercise environment for this course using GitHub Codespaces by
following [this](codespaces.md) walkthrough.
Alternatively, you can follow [these instructions](https://learn.temporal.io/getting_started/ruby/dev_environment/) to set up your own Temporal Developer Environment, which you can use as an exercise environment.