Speaker
Katie McLaughlin
Material
Note
- What is django deployment anyway?
- copy code to host
- update database, if needed
- update static, if needed
- 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
- Platform as a Service
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
- DBaaS
3. Serve static file
- simple assets
- cloud storage
- media uploads
- asset compilation