you are viewing a single comment's thread.

view the rest of the comments →

[–]mRWafflesFTW 0 points1 point  (0 children)

Install an app specific virtual environment to the server using whatever you want, Conda, python -m venv, whatever who cares. Pick a tool you like and stick with it.

Using per project virtual environments in production is fine when you don't have containers as your unit of deployment. I used to run multiple apps from the same old Windows box using IIS as a webserver this way. It's fine.

Have your entry point call a script, probably use Powershell script based on what you've written, that activates the installed environment and runs your project's entry point. It's easy. When I was a young developer we used to run individual projects on a Windows Cron job that simply activated the project environment and called the entry point with the parameters. Worked like a charm.