Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.62 KB

File metadata and controls

33 lines (26 loc) · 1.62 KB

Julia DevContainer Template

Develop Julia applications inside VSCode containers (locally or remotely).

Why? Preinstalled development environment (runs on optimized linux from official Julia docker image: https://hub.docker.com/_/julia)

Local development: Same configuration works everywhere (good for collaboration and deployments).

Remote development: Use a powerful machine remotely (up to 32 cores), usage-based payments, and develop from a lightweight workstation: https://docs.github.com/en/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace

Locally

  1. Install docker (https://docs.docker.com/engine/install/) 0.1 Install devcontainers extension in VSCode https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
  2. Open with browser https://github.com/MauScheff/julia-devcontainer
  3. Click on fork and fork it.
  4. Go to your forked repo and click on green code button then HTTPS / Copy url to clipboard.
  5. $ git clone PASTE URL
  6. $ cd julia-devcontainer
  7. $ code .
  8. Wait for vscode to detect Dev Container and click open in container in bottom right dialog.
  9. Alternatively, open the command palette (CMD+SHIFT+P) and write "reopen in container".

Remotely with Github Codespaces

  1. Open with browser https://github.com/MauScheff/julia-devcontainer
  2. Click on fork and fork it.
  3. Go to your forked repo and click on green code button then HTTPS / Copy url to clipboard.
  4. $ git clone PASTE URL
  5. With VSCODE command palette (CMD+SHIFT+P) write "create new codespace" and follow instructions.
  6. Manage your workspaces on github website (https://github.com/codespaces).