After Fork the mojo repo. and before (instead of) creating a GitHub workspace:
- In the root of your repo, put the
.gitpod.yml
file. - Create
.vscode/
folder and put thesettings.json
file inside. - Commit your changes.
- Go to Gitpod and log in with your GitHub account.
- Go to
Projects
- Create a Project by selecting your forked repo.
- Click on
Enable Prebuilds
- Mark the checkbox
Enable Prebuilds
- You are in the
General
tab in the sidebar. Go toVariables
- Create an env variable called
MODULAR_AUTH
with your auth token as value. (You can get it from the SDK installation page). - You are in the Horizontal tab
Settings
. Go toBranches
- Over the branch
examples
click on the actions icon button (the three dots) andRun Prebuild
- Once this is Ready, click on the button
New Workspace
I would recommend using
modular-mojotools.vscode-mojo
instead ofKarsten7.mojo-vscode