pm2
pm2 copied to clipboard
How to start python project on a python venv?
Hi I have several python projects that I want to manage with pm2 however they each have different requirements, some of which conflict. There's a simple solution to that... setting up a python venv (virtual environment). My issue is that I don't know how to tell pm2 start that it needs to look for the interpreter in a venv folder, I tried it and got told it couldn't access the interpreter files from the venv.
create a startup-script and run this with pm2.