Multiple envs for non-package project #10095
Replies: 1 comment
Keep a separate One caveat for environments you've already created: enabling the in-project setting doesn't move an existing cached environment into |
Keep a separate One caveat for environments you've already created: enabling the in-project setting doesn't move an existing cached environment into |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I want to use poetry to manage package dependencies for my non package project .I have two components in my project folder; api and ui. I want to do a separate env for each component
In my original thought, i tried to cd into each the api folder and the ui folder and poetry init. creating a poetry toml definition in each folder and being able to switch environments by changing directories from ./myproject/api and ./myproject/ui. However, i cannot get my second folder to create and switch to a a different poetry environment. One possible issue is that i have i have virtual envs in-project set to true.
I really want to ask for any guidance or best practices on managing two sets up code within a single project folder. My goal is to containerize each folder in its own docker image, and want to keep independent dependencies for the ui and api. Any direction would be helpful
All reactions