Deploy DjangoLesson 50Free preview
Create requirements.txt
This lesson is part of Django · All levels
Summary
Requirements.txt lists all Python dependencies and their versions. This file is created with pip freeze and read by the deployment platform to install the package. Without it, the production server doesn't know what package is needed.
Key points
- Make it with a freeze pipe
- Full list of packages and versions
- Read platforms at deployment
- Ensuring a reproductive environment
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.