-
-
Save RuKapSan/6bb7ba616ac768f28c0b70d7ee723bb4 to your computer and use it in GitHub Desktop.
Revisions
-
Sarctiann revised this gist
Sep 18, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,6 @@ vscode: extensions: - "modular-mojotools.vscode-mojo" - "ms-python.python"
-
Sarctiann revised this gist
Sep 17, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,6 @@ After Fork the mojo repo. and before (instead of) creating a GitHub workspace: 12. Over the branch `examples` click on the *actions icon button* (the three dots) and `Run Prebuild` 13. Once this is Ready, click on the button `New Workspace` --- ### Now you have the most powerful remote machine to work with Mojo. -
Sarctiann revised this gist
Sep 17, 2023 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,14 @@ ## Follow these steps After Fork the mojo repo. and before (instead of) creating a GitHub workspace: --- 1. In the root of your repo, put the `.gitpod.yml` file. 2. Create `.vscode/` folder and put the `settings.json` file inside. 3. Commit your changes. --- 4. Go to [Gitpod](https://gitpod.io/) and log in with your GitHub account. 5. Go to `Projects` -
Sarctiann created this gist
Sep 17, 2023 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ # List the start-up tasks. Learn more: https://www.gitpod.io/docs/configure/workspaces/tasks tasks: - name: Install Modular & Mojo before: | eval $(command gp env -e) command: | curl https://get.modular.com | MODULAR_AUTH=$MODULAR_AUTH sh - modular install mojo echo 'export MODULAR_HOME="/home/gitpod/.modular"' >> ~/.zshrc echo 'export PATH="/home/gitpod/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.zshrc source ~/.zshrc vscode: extensions: - "Karsten7.mojo-vscode" - "ms-python.python"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ After Fork the mojo repo. and before (instead of) creating a GitHub workspace: 1. In the root of your repo, put the `.gitpod.yml` file. 2. Create `.vscode/` folder and put the `settings.json` file inside. 3. Commit your changes. 4. Go to [Gitpod](https://gitpod.io/) and log in with your GitHub account. 5. Go to `Projects` 6. Create a Project by selecting your forked repo. 7. Click on `Enable Prebuilds` 8. Mark the checkbox `Enable Prebuilds` 9. You are in the `General` tab in the sidebar. Go to `Variables` 10. Create an env variable called `MODULAR_AUTH` with your auth token as value. (You can get it from the SDK installation page). 11. You are in the Horizontal tab `Settings`. Go to `Branches` 12. Over the branch `examples` click on the *actions icon button* (the three dots) and `Run Prebuild` 13. Once this is Ready, click on the button `New Workspace` ### Now you have the most powerful remote machine to work with Mojo. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ { "mojo.modularHomePath": "/home/gitpod/.modular" }