π οΈ Let's install essential packages such as DJANGO, WHITENOISE, GUNICORN, andΒ PSYCOPG2Β now.
Β
DJANGO: π Django powers our project. When installing, stick to Django 3.2.1 or below. Render doesn't support versions beyond that. π«β¬οΈ
GUNICORN:Β π Gunicorn's main role in Django deployment is bridging the web server π and your Django app π, ensuring smooth production operation. π
WHITENOISE: π¦Β WhiteNoise is a Django middleware that serves static files efficiently and securely in a Django web application during deployment
PSYCOPG2: π Psycopg2 is a database adapter for Django that helps your Django application connect and interact with a PostgreSQL database. It serves as the bridge π between Django and PostgreSQL, enabling data storage and retrieval with ease.
Β
Make sure your virtual environment is activated, then run the following commands.
pip install django==3.2.1
pip install gunicorn whitenoise psycopg2
Β
Β
Β