-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
devpod ? #6
Comments
This is super interesting.. I just work with everything installed locally but I can totally understand how some people might prefer to have a "sandbox" to try things out in before they invest too much. It would be nice to have an accessible starting point for new users. My only concern would be teaching people to start using a set up that they can't use for the long term (in the past I've been burned a lot by docker, nix, and other tools that claim to offer an "all batteries included" solution to dev environments so I'm skeptical 😅). In your experience with devcontainers do the actually work for "real world" projects, and with heavy use? |
I think we need to distinguish between 2 things:
In a "pure Clojure project" this gives very little added value, as "setup Clojure" is absolutely straightforward on any OS. Doing 1) is very easy for "us / you". Suggesting a concrete tool for 2) is less easy, as any "devcontainer supporting tool" works under certain assumptions, uses case:
A list is of "supporting tools" is maintained here: So I would not go into 2). I would just say,
Of course, when you provide such devcontainer spec, you need to try it. (The "tool list" above tries to document the "slight" deviations between the tool regarding the support of the standard. We started as well to create 2 "Clojure devcontainer templates" See here and A "devcontainer template" can be used to "setup" a devcontainer.json in a new folder. |
Are you aware of "devpod" ?
It its a cli tools which setup
devcontainers
.it seems to be supported on Mac as well:
https://devpod.sh/
In this case, you could have
devcontainer.json
file in your repo, which setups Clojure and Python .So basically the "manual steps" of your readme to setup python, python packages and python.edn
would be full automatic and specified in the devcontainer.json
Devcontainer is "fully integrated" in VsCode, so for VSCode users it is enough to "open" the folder, and the rest happens
full automatic.
Emacs users would need to use devpod cli manually and follow "instructions" how to jack in.
If you are interested, I can make a PR here, adding the needed files and you could try it with both, VSCode and Emacs.
The text was updated successfully, but these errors were encountered: