Gitpod. The better way to run Mojo remotely
Here I will describe my work to configure Gitpod for mojo in the simplest way.
13 Replies
After Fork the mojo repo. and before (instead of) creating a GitHub workspace:
- In the root of the repo, create a file called
and commit your changes. 1. Go to Gitpod and log in with your GitHub account. 1. Go to
.gitpod.yml
with this content:
Also, create the folder and file .vscode/setting.json
with this content:
and commit your changes. 1. Go to Gitpod and log in with your GitHub account. 1. Go to
Projects
1. Create a Project by selecting your forked repo.
1. Click on Enable Prebuilds
1. Mark the checkbox Enable Prebuilds
1. You are in the General
tab in the sidebar. Go to Variables
1. Create an env variable called MODULAR_AUTH
with your auth token as value. (You can get it from the SDK installation page).
1. You are in the Horizontal tab Settings
. Go to Branches
1. Over the branch examples
click on the actions icon button (the three dots) and Run Prebuild
1. Once this is Ready, click on the button New Workspace
1. Now you have the most powerful remote machine to work with Mojo.This is cool, thanks @Sarctiann
We have a newsletter coming out soon showing things people are doing in the community. If you put this up in a gist I'll put a link to it. Thanks for sharing!
Oh great!
Thanks!
nice
It looks like you have the wrong mojo extension btw from Karsten7. I would recommend using
modular-mojotools.vscode-mojo
insteadOh, that is correct! I get the official by settings sync, so I didn't notice that it was a different one haha
Congrats @Sarctiann, you just advanced to level 5!
fixed
woop woop
Hi @Sarctiann just fyi, the draft for the first edition of the weekly newsletter was already out, I'll put this in #2 thanks!
Wow, thank you @Jack Clayton I hope this helps others!
Wow, Mojo parade is starting!