Multiple envs for non-package project #10095
Unanswered
corey-dawson
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions