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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2ODQ1NDMsIm5iZiI6MTcyMzY4NDI0MywicGF0aCI6Ii8xMzkwODkvMjgyMzc4MzQyLTNkNmRkYTI5LTYxM2ItNDQ3Yy05YjRkLTE2Zjc1OTEzMjdmNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNVQwMTEwNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MDU2NWNmMThiYjIxMjg2NDJlZmQ4ZGY1ZmViYjgyN2QzMDM1MjQwODgwYTg0NWQwZThhYTQ0NDgyOTlhZTllJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.wRhysQGMuUrq-q0ZnALIaBf0oDlrHTG6FWICsPe6stQ)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2ODQ1NDMsIm5iZiI6MTcyMzY4NDI0MywicGF0aCI6Ii8xMzkwODkvMjgyMzc4MzY3LTlkMzRmM2ViLTkwZDAtNGE0Ni04MjU4LTQ1YjQyZDkzYjA2Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNVQwMTEwNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zODZhNDgwOWNkZDVkZGE1YzI3MDY3NmYzMTdlYWEyZWQyYTI1MmUzYzk5ZTk4ODQwMDIxN2Y5ODYzZTI2ZTJlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9._Y4-p8BP2EU6y0VGa4kb7JLRsptDQraFxAgTgoPWgjE)
- 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.