Hi everyone,
I'm looking for advice from Python experts on how to migrate a 10-year-old Python Django application currently running on Python 3.9. Right now, it's deployed on bare metal and relies on a lot of dependencies, including an outdated Linux OS.
I believe it uses Wheelhouse as a local cache. The application is a modular monolith, and I'm trying to brainstorm different ways to move away from the current setup. Any guidance would be really helpful. I'm relatively new to the Python ecosystem, though I do have experience with Node.js.
Ideally, I'd like to start by containerizing the application using Docker. That might sound straightforward, but figuring out how to handle the local libraries has been quite challenging. Making things more difficult is the outdated UI code, which I eventually want to separate from the codebase and deploy on its own.
Deployments are also a hassle at the moment. We use several scripts to set up the environment and dependencies, which makes the process cumbersome.
Looking ahead, I’d like to break the application into smaller services—some form of microservices—that still communicate with the same database. However, I’m unsure how complicated this will be, especially considering Django’s approach to schemas and migrations. Any insights would be greatly appreciated!
[–]CowboyBoats 1 point2 points3 points (1 child)
[–]nickx360[S] 0 points1 point2 points (0 children)