DjangoCon 2018 - Can packaging improve Django deployments?
https://media.ccc.de/v/hd-117-can-packaging-improve-django-deployments-
How can packaging Django projects make deployments easier, faster and more reliable?
Deployments of Django projects can be a challenging task. Beside the Python source code itself you usually have to handle a lot of other stuff:
- Installing Python dependencies
- Shipping JavaScript code and installing it's dependencies
- Compiling SCSS to CSS
- Collecting static files
- Building documentation
- Compiling translations
- …
And of course you want a deployment approach that is independent of a specific hosting solution.
Also you have to think about the scalability of your deployment when the number of servers you operate increases.
This usually means that git pull
is not the best way to deal with these tasks.
So I will discuss different ways to package your Django project like
- Wheels
- JavaScript packages
- Operating system packages
- Containers
Some of these concepts will hopefully help you to make your deployment process easier, faster and more reliable.
Markus Zapke-GrĂ¼ndemann
Date Added: September 19, 2024
Note: We understand that names change, people change, and bodies change. We respect each individual's journey and privacy. If you have any concerns about a video or need us to remove content, please don't hesitate to contact us. We will handle your request with care and promptly address any issues.