ryanmiville / mojo-devcontainer

Template repo with Mojo dev container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mojo Devcontainer

Rudimentary devcontainer template for the Mojo programming language

Dockerfile copied from the official Mojo github repository

Instructions

VSCode will prompt you to open the dev container when you open the project. Do not do this yet. First you must add your Modular authentication key to devcontainer.json. To find your authentication key:

  1. Log in at developer.modular.com
  2. Copy your authentication key. You will find it in the install instructions that should look something like
curl https://get.modular.com | sh - && \
modular auth <YOUR_AUTH_KEY>
  1. Set the AUTH_KEY environment variable in devcontainer.json
  2. Once you save the file, vscode should prompt you to open the devcontainer again. Now you may do so.

The first build will take several minutes. Once it is complete, verify everything works by opening VSCode's integrated terminal and running mojo hello.mojo.

About

Template repo with Mojo dev container


Languages

Language:Jupyter Notebook 91.4%Language:Dockerfile 8.6%