Creating a Social Media Applications Steps ( Main Steps ) ================= ================== Step1: Creating virtual environment Step2: Creating Project Name cmd> django-admin startproject ArticleProject cmd\demoProject> Step3: Creating Application Name cmd\demoProject> python manage.py startapp blog Step4: Open settings.py file add settings ---->> goto INSTALLED_APPS section and add our appName here ---->> goto TEMPLATES section and configure the templates path ---->> goto DATABASE section and configure the database details Step5: Create required database name using mysql mysql> create database dbName; Step6: Open Project Level folder __init__.py file and Add below code import pymysql pymysql.install_as_MySQLdb() Step6: open models.py and create Post model Step7: open admin.py and create admin related logics Step8: Execute the makemigrations for generating SQL Code Step9: Execute the migrate for creating model tables Step10: Execute the createsuperuser command for login admin site Step11: Execute the runserver command for executing server Step12: Now login into the admin site and add some records into Post model Step13: Open views.py of blog app and create required home_view logics Step14: Create required template name related to views inside templates\blog\home.html Step15: create urls.py file inside blog app and create required urls Step16: Open project level urls.py and create mapping url to blog urls Step17: Add Statics files settings for creating "external css" files --->> creating "static" folder inside "blog" applicatiion --->> creating "css" folder inside "static" folder --->> creating "main.css" file inside "css" folder --->> open settings.py and add Static files settings STATIC_URL = 'static/' import os STATICFILES_DIRS = [os.path.join(BASE_DIR, 'blog/static')] --->> open "base.html" and load static folder here using {% load tag %} {% load static %} --->> Add css file using {% static tag %} into tag Step22: Open base.html template and create required Navbar menus and Footer Bar section Step23: Divide Main body section as Two frames wise and Display some links in right side section.