We use pip-tools to handle project dependencies.
Read the pip-tools documentation to know how to install new packages or update existing packages.
DO NOT MANUALLY edit the .txt files, only the .in files.
📝 If you are using docker, you can run these commands in the django container.
cd requirements
echo "<package name>" >> (base.in|local.in|production.in)
pip-compile base.in
pip-compile local.in
pip-compile production.in
pip-sync (local.txt|production.txt)
# If you are using docker
docker compose build
rm *.txt
pip-compile base.txt
## How to upgrade ALL packages
```bash
rm *.txt
pip-compile base.txt
./compile.sh
Then run pip-sync / dc build