Skip to content

Faishal003/Developing-a-Blog-Website-with-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Developing a Blog Website with Django

Image of my-views-counter Static Badge Static Badge

💥Features of this project💥

  • The user can log in and log out 🔐
  • The user can access his profile and change the profile info 💁
  • The user can also add & change his profile picture 💁
  • The user can write & edit his blog ✍
  • The user can like or dislike the post 👌
  • Also the user can comment on a particular blog ✏️

Installation

Note : Make sure you have Python version 3.10.10 👈
Install a few prerequisite files before running the project 👀

pip install django
pip install pillow
pip install Django-crispy-forms
pip install crispy-bootstrap4  
pip install django_cleanup 

Clone the Repository

After installing the prerequisite files just clone the project:

git clone https://github.com/Faishal003/Developing-a-Blog-Website-with-Django.git

Create Superuser

Run command in terminal:

python manage.py createsuperuser

Model Build

After creating superuser, run the following commands in the Terminal:

python manage.py makemigrations
python manage.py migrate
python manage.py makemigrations

Getting started to run the server

Run command in terminal:
Execute: python manage.py runserver
Open up a browser and visit: http://127.0.0.1:8000/ , the you will see the blog💥❤️.
All Set! 🤩🔥