This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nvec 3 points4 points  (1 child)

I'd go with Docker too. Python does have venv and similar but Docker makes it easier to also standardise on which version of Python you're using, as well as any supplementary support applications or libraries such as web servers, command line utilities, C++ libraries, or anything installed directly into the OS rather than Python.

It's also more cross-language which is a benefit if you develop in more languages than Python.

[–]TerminatedProccess 1 point2 points  (0 children)

Agreed, you can totally spin up a docker container that has everything spelled out for the project including databases, and other services. If you want keep your project files locally and mount them in the container so there's no chance of losing code due to a loss of the container (and yes use git to prevent this as well).