~/talk

"What Django Deployment is Really About"

Talkat PyOhio 2024 · 2024-07-27..07-28· [python, devops-and-delivery]
links:none on file
slides:none on file

Breaks Django deployment into four concrete concerns: static files (use manage.py collectstatic, or middleware like WhiteNoise and CDNs, and serve uploads from S3 instead of local disk), database (sqlite works in dev but production often uses Postgres with host/port/credentials and requires running migrations), WSGI server (use Gunicorn, uWSGI or Waitress to run the wsgi callable), and web server/PaaS choices (nginx/Apache on a VPS vs Heroku/pythonanywhere/platforms, plus tools like django-check, django-simple-deploy, Django Production and Docker pros/cons).

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Why Django deployment matters
  3. 2:53Common challenges
  4. 4:16Four key concerns
  5. 5:19Static files and web servers
  6. 8:54White Noise for static files
  7. 10:40Media files and cloud storage
  8. 12:04Database differences in development vs deployment
  9. 14:54What is a WSGI server
  10. 17:03VPS versus PaaS
  11. 19:34VPS versus platform as a service
  12. 21:00Django deployment checklist
  13. 22:45Django Simple Deploy
  14. 23:46Django Production overview
  15. 25:10Docker in Django
  16. 28:20Docker limits and alternatives
  17. 29:02Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.