After Fork the mojo repo. and before (instead of) creating a GitHub workspace:
- In the root of your repo, put the
.gitpod.ymlfile. - Create
.vscode/folder and put thesettings.jsonfile 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
Generaltab in the sidebar. Go toVariables - Create an env variable called
MODULAR_AUTHwith 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
examplesclick 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-mojoinstead ofKarsten7.mojo-vscode