Create a virtual environment python -m venv ./fakeurlgenerator Activate the virtual environment cd fakeurlgenerator/scripts activate Installing Django and creating the django project pip install django django-admin startproject fakeurlgenerator cd fakeurlgenerator Create an app for maintaining urls django-admin startapp app Update Settings.py Environments import os from dotenv import load_dotenv load_dotenv() Installed Apps 'app', Middlewares 'whitenoise.middleware.WhiteNoiseMiddleware', STATICFILES STORAGE (for production) STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' Templates For connecting the HTML, Javascript 'DIRS': [os.path.join(BASE_DIR,'templates')], Static Files For Connecting the css STATIC_URL = 'static/' STATIC_ROOT = os.path.join(BASE_DIR,'statifiles') STATICFILES_DIRS = [os.path.join(BASE_DIR,'static')] Set Allowed Hosts and Debug For Production Installation pip install python-dotenv whitenoise gunicorn Start the Server python manage.py runserver