3 ms·
Djevops: Self-Host Django Easily
- spwa4 3mo agoSometimes I wonder why people don't just go back to apache mod_php, mod_python and know you can just deploy apps even if they aren't perfectly isolated. Everything still works, and if you have many small sites there's no beating the efficiency of it.
- ranger_danger 3mo agoSome people still do... it's just that that means you've got to reinvent the wheel again when you inevitably need something like authentication, CRUD views, database support etc... that's where Django comes in I think; it can handle all that but also stays out of the way a lot more than other frameworks in my opinion.
- andrelaszlo 3mo agoYou can deploy Django apps on Apache with mod_wsgi, maybe that's what they meant. Not sure about mod_python... I think it's dead. https://docs.djangoproject.com/en/6.0/howto/deployment/wsgi/modwsgi/ https://docs.djangoproject.com/en/6.0/howto/deployment/wsgi/...
- mmarian 3mo agoI prefer sticking with Docker. I have a Swarm cluster of ~10 services, all on the same 5$/month VPS.
- factorialboy 3mo agoCool project. I've built my own Django "harness" so I can't use it right now, but will consider for future projects.
- codingjoe 3mo agoDid something similar a while back hosting all my pet projects on a PS5: https://the-box.sh https://the-box.sh (signature edition)
- huangchengsir 3mo ago[flagged]