This is a sample application of the workshop.
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.
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.
- Clone your repository into your computer
- Start VSCode
- Open
Command Palette
and choose"Open Folder in Container..."
- Wait for a few minutes to complete downloading/building docker image, installing dependencies, and starting up the extensions
![Screenshot 2023-11-12 at 22 10 32](https://private-user-images.githubusercontent.com/139089/282378342-3d6dda29-613b-447c-9b4d-16f7591327f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MDU0NDEsIm5iZiI6MTcxOTgwNTE0MSwicGF0aCI6Ii8xMzkwODkvMjgyMzc4MzQyLTNkNmRkYTI5LTYxM2ItNDQ3Yy05YjRkLTE2Zjc1OTEzMjdmNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMVQwMzM5MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMmQ0NzYwNmYzZTY2MjA1YmJmMzI5NDY2YjFlZWYwMTQwNGZkNjJiMjZkZGUzODRjYTNiZWZlNTZkZjgyMTc4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.tXl3GjNUgrPmNnhVBdEbupkPINCHIpUI2si0q4U3PBw)
- 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 Palette
and chooseSteep: Restart all
![Screenshot 2023-11-12 at 22 11 37](https://private-user-images.githubusercontent.com/139089/282378367-9d34f3eb-90d0-4a46-8258-45b42d93b06f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MDU0NDEsIm5iZiI6MTcxOTgwNTE0MSwicGF0aCI6Ii8xMzkwODkvMjgyMzc4MzY3LTlkMzRmM2ViLTkwZDAtNGE0Ni04MjU4LTQ1YjQyZDkzYjA2Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMVQwMzM5MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03YTYxMjNkZDBmYTkxMTIzOWEwNWI3ZjkwMDAzNWVjZTUwMmM5YmVhMWZjYWQ3MjcxMTRiODZhMTI2MWZmMjc0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.6zvHMUGUbkYRJ_NDvf11GeokkUcnRe7D9pJbggGAUOA)
- Clone your repository into your computer
$ bin/setup
in the working copy- Open the folder using VSCode
- Ensure the essential extensions are installed:
soutaro.rbs-syntax
,soutaro.steep-vscode
- Open
Command Palette
and chooseSteep: Restart all
I also recommend installing Shopify.ruby-lsp
for some Ruby coding features.