Hello everyone,
I’m very new to Django and I have a question that could be very dumb: each guide about Django describes in details how to setup a dev environment but what kind of setup is request to run a Django app in production?
I’m coming from PHP world where you have just “upload and go”.
Thanks,
S
Oh, there are lots about deploying Django out there. Just a DDG search right now revealed a lot of gems.
You can start here though:
Be looking at the links on the right pane of that page too. They lead to more information. I have experimented with uWSGI. In the end, I find Gunicorn more straightforward.
https://docs.gunicorn.org/en/latest/deploy.html
Welcome @TheAccountant1 !
To add to @onyeibo 's excellent answer, one of the issues is that there are so many different deployment options, there’s no “one right way” to deploy it.
The docs referenced highlight some of the options, but it really does end up being a complex topic.
Having said that, while I wish the Django docs did get a little more “prescriptive” with it, I understand that that’s probably outside where the Django docs wish to go, relying more upon third-party docs for the specifics of deployment scenarios.
1 Like