Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 2.04 KB

README.md

File metadata and controls

36 lines (21 loc) · 2.04 KB

Dev container

This project includes a dev container, which lets you use a container as a full-featured dev environment.

You can use the dev container configuration in this folder to build and run the app without needing to install any of its tools locally! You can use it in GitHub Codespaces or the VS Code Dev Containers extension.

GitHub Codespaces

Open in GitHub Codespaces

You may use the button above, or follow these steps to open this repo in a Codespace:

  1. Click the Code drop-down menu at the top of repo.
  2. Click on the Codespaces tab.
  3. Click Create codespace on master.

For more info, check out the GitHub documentation.

VS Code Dev Containers

Follow these steps to open this repo in a container using the VS Code Dev Containers extension:

  1. If this is your first time using a development container, please ensure your system meets the pre-reqs (i.e. have Docker installed) in the getting started steps.

  2. Open a locally cloned copy of the code:

    • Fork and Clone this repository to your local filesystem.
    • Press F1 and select the Dev Containers: Open Folder in Container... command.
    • Select the cloned copy of this folder, wait for the container to start, and try things out!

You can learn more in the Dev Containers documentation.

Tips and tricks

  • To connect to ollama, you should use http://ollama:11434 inside the container
  • If you'd like to review the contents of the image used in this dev container, you can check it out in the devcontainers/images repo.