Add instructions on how to use devcontainers in vscode.

This commit is contained in:
Anand Patel
2024-02-29 01:40:59 +00:00
parent f855ba1c0f
commit ea0675b35e

View File

@@ -28,6 +28,11 @@ be used by other editors as well. Once the container is running, you can do thi
dev server, run python tests, etc. by either using the VSCode tasks below, or manually running commands described in the individual dev server, run python tests, etc. by either using the VSCode tasks below, or manually running commands described in the individual
technology sections below. technology sections below.
In VSCode, simply check out the git repository, and then via the command palette, choose `Dev Containers: Reopen in container`.
If you need to change python dependencies (requierments.txt) or OS packages, you will need to rebuild the container. If you are
changing OS package requirements, you will need to update both the main `Dockerfile` and the `.devcontainer/Dockerfile`.
### VSCode Tasks ### VSCode Tasks
If you use VSCode, there are a number of tasks that are available. Here are a few of the key ones: If you use VSCode, there are a number of tasks that are available. Here are a few of the key ones: