1

Project Setup

πŸ› οΈ 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

Β 

Β 

Β 

2598
clintonmatics