3 ms·
>It should just work when I navigate to the project folder. You still need to do the setup when you create the project, but once you do you can use direnv[0] t
by bitcurious 4y ago
>It should just work when I navigate to the project folder.
You still need to do the setup when you create the project, but once you do you can use direnv[0] to activate/deactivate the venv[1]. I target GCP often, so I have direnv switch over to the correct project [3] also.
[0] https://direnv.net/ https://direnv.net/
[1] https://stackabuse.com/managing-python-environments-with-direnv-and-pyenv/ https://stackabuse.com/managing-python-environments-with-dir...
[2] https://stackoverflow.com/questions/56781493/gcloud-is-it-possible-to-change-the-default-project-based-on-the-current-folder https://stackoverflow.com/questions/56781493/gcloud-is-it-po...