← Back to projects
Rubyconf 2023
A sample Ruby app for RubyConf 2023 workshop
#Ruby coding with RBS and Steep workshop at RubyConf 2023
This is a sample application of the workshop.
#Set up
We have an assumption of using VSCode for this workshop.
You can start the IDE with one of the following three options.
- Inside local container (recommended)
- GitHub Codespaces
- Running locally
Running the app inside local container is the recommended way, but you may want to use GitHub Codespaces to skip downloading large container images.
#Before setting up: fork the repository
I recommend making a fork of this repository into your account. This makes sharing your code easy. You can just push your code and copy-and-paste the URL.
#Option 1. Inside local container (recommended)
- Clone your repository into your computer
- Start VSCode
- Open
Command Paletteand choose"Open Folder in Container..." - Wait for a few minutes to complete downloading/building docker image, installing dependencies, and starting up the extensions
#Option 2. GitHub Codespaces
- Open your fork repository on browser
Create a codespace on main- Wait for a few minutes to complete downloading/building docker image, installing dependencies, and starting up the extensions
- Open
Command Paletteand chooseSteep: Restart all
⚠️⚠️⚠️ Make sure stopping the container after you work on it to avoid unexpectedly spending the core hours. ⚠️⚠️⚠️
#Option 3. Running locally
- Clone your repository into your computer
$ bin/setupin the working copy- Open the folder using VSCode
- Ensure the essential extensions are installed:
soutaro.rbs-syntax,soutaro.steep-vscode - Open
Command Paletteand chooseSteep: Restart all
I also recommend installing Shopify.ruby-lsp for some Ruby coding features.