this post was submitted on 08 Aug 2024
2 points (100.0% liked)

Python

76 readers
1 users here now

News and discussions about the programming language Python


founded 5 years ago
MODERATORS
 

cross-posted from: https://programming.dev/post/17866168

Hi,

I use gunicorn in my venv

I have quite few venv that run gunicorn.

I would like to reuse gunicorn for other venv

I launch my web application like this

#PWD = venv dir
source ./bin/activate
gunicorn A_WebApp:app
#A_WebApp is my python file A_WebApp.py

I supposes that gunicorn is a shell program ? if yes I should use $PATH ?
or gunicorn is a Python program only ? and then what I should do to use gunicorn in another venv ?

Thanks.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here