You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why these changes are being introduced:
Dev containers make it easier to develop apps
without maintaining a local Ruby/Rails
environment.
Relevant ticket(s):
* [TCO-89](https://mitlibraries.atlassian.net/browse/TCO-89)
How this addresses that need:
This adds dev container config files and
documentation.
Side effects of this change:
Gemfile.lock now includes aarch64-linux, probably
because I ran the dev container on my Macbook.
This repository provides [devcontainers](https://containers.dev). Rather than taking the time to configure your local
156
+
environment, consider using the provided devcontainers. You can still use your prefered code editors as if you were
157
+
working locally, but all execution of code will happen in containers in a way that will be consistent across all
158
+
developers using these containers.
159
+
160
+
#### VScode
161
+
162
+
[VScode can detect and manage devcontainers](https://code.visualstudio.com/docs/devcontainers/containers)
163
+
for you. It can build and reopen the code in the container and then the terminal within VScode will execute
164
+
commands in the container.
165
+
166
+
This requires a functional Docker environment and the [VScode Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
167
+
168
+
#### Non-VScode
169
+
170
+
If you prefer an editor other than VSCode, you can manage [Dev Containers from the CLI](https://containers.dev/supporting#devcontainer-cli) or look to see if your chosen editor may have direct support for Dev Containers.
171
+
172
+
[DevPod](https://github.com/loft-sh/devpod) is also something to consider. It provides a VScode-via-web-browser-in-a-box
173
+
as well as allowing you to use whatever editor you want and only using DevPod to start/stop the containers and run your
174
+
terminals. Local for editor, DevPod managed Dev Container for everything else.
0 commit comments