Project Setup

Let's install essential packages such as WHITENOISEGUNICORN,  and PSYCOPG2-BINARY.

Whitenoise: static file serving middleware for Django, simplifies serving CSS, JavaScript, and images from your Django app. Enhances performance and security.

Gunicorn: A production-ready WSGI HTTP server for Python web apps, used to serve Django apps in a production environment, providing reliability and scalability.

Psycopg2-binary: Lightweight and standalone distribution of Psycopg2, simplifying installation in production and testing. 

Make sure your virtual environment is activated, then run the following commands.

pip install gunicorn whitenoise psycopg2-binary