Skip to content

Replacing python manage.py runserver with gunicorn #3290

Answered by aDramaQueen
anjanesh asked this question in Q&A
Discussion options

You must be logged in to vote

If you install Gunicorn via Pip you get a binary in your venv directory. Therefore: ExecStart=/var/www/myProject/env/bin/gunicorn

Everythin else you need, you may find in the documentation

NOTE: You should not put your project in the var directory. Create a user for your project and put it in the home directory of said user.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anjanesh
Comment options

Answer selected by anjanesh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants