|
|
|
|
|
by robomartin
1656 days ago
|
|
Love Django, yet the transition from local development to deployment, in my opinion, continues to be just plain ugly and painful. I've written about this before. I think the stock Django dev configuration needs to change to something that is equivalent to a reasonable deployment on a common VPS, whatever that means. The development server is a nice trick, but the things you have to do to move to a real server are painful. Same with SQLite. Why not come up running PostgreSQL by default? I am sure there are varied opinions on this. All I have to say is that, over the years, I developed a document to help with deployment on standard hosting platforms, like Linode. It is staggering when compared to the experience of deploying something like a Wordpress/PHP site on the same or similar platform. This, from my perspective, is the weakness for Django, everything else I love and enjoy. |
|
systemd service + gunicorn is not that bad, I think. You can have simple deployment and graceful restarts[0].
[0] https://nts.strzibny.name/gunicorn-graceful-restarts/