I've been reading about deploying Django with gunicorn and I wanted to give it a try.
I have found at least 3 ways of running a server with gunicorn and django:
gunicorn [OPTIONS] [APP_MODULE] # tested locally and worked finepython managy.py run_gunicorn # also works fine locallygunicorn_django [OPTIONS] [SETTINGS_PATH] # I have an error due to apps/ locationI have Apache with nginx (serving static files) in production at the moment, works fine but is a litle slow and want to try Gunicorn. The first 2 options worked fine locally with nginx serving static files.
I want to know a couple if things:
PRODUCTION environments ?Thank you guys.
Use gunicorn_django [OPTIONS] myproject if you use myproject.settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With