Speaker

Katie McLaughlin

Material

Note

  • What is django deployment anyway?
    1. copy code to host
    2. update database, if needed
    3. update static, if needed
    4. start web server

1. Run Django

  • Host
    • Platform as a Service
      • your responsibility: django app, data
      • managed for you: web server, os, hardware, storage, networking
      • e.g., Heroku
    • Infrastructure as a Service
      • your responsibility: django app, data, web server os
      • managed for you: hardware, storage, networking
      • e.g., AWS

2. Connect to a database

  • No opinion?
    • Use postgres
  • Database hosting
    • DBaaS
      • your responsibility:
      • django's responsibility: migrations
      • managed for you: storage, backups, persistence, maintenance

3. Serve static file

  • simple assets
  • cloud storage
  • media uploads
  • asset compilation

Share on: TwitterFacebookEmail


Published

Category

PyCon US 2020

Tags

Contact