Skip to content

A microblogging platform where users can post, view blogs or even comment on them in a traditional way.

Notifications You must be signed in to change notification settings

Umang-Kumar/Blog-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Blog Project

Welcome to our Django Blog Project! This project is a simple blog application built using the Django web framework. It allows users to create, read, update, and delete blog posts, commenting on blogs and much more. Try it out here with friends and family.

image

Installation

  1. Clone the repository by running git clone https://github.com/Umang-Kumar/Blog-App.git in your terminal.
  2. Create a virtual environment by running python -m venv myenv and activate it by running source myenv/bin/activate on Linux or myenv\Scripts\activate on Windows.
  3. Install the required packages by running pip install -r requirements.txt
  4. Run python manage.py makemigrations and python manage.py migrate to create the database and apply the migrations.
  5. Run python manage.py runserver to start the development server.
  6. Open http://127.0.0.1:8000/ in your browser to access the blog.

Features

  • User authentication: Users can sign up, log in, and log out of the blog.

image

  • CRUD functionality: Users can create, read, update, and delete blog posts.

image image

  • Pagination: Posts are paginated to improve the user experience.

  • Search: Users can search for posts by title or content.

image

  • Comments: Users can leave comments on posts.

image

  • Admin panel: An admin panel is provided for managing the blog.

image image

  • Responsive: The website is fully responsive for enhanced user experience and wide compatability.

image image

Customization

  • The project can be easily customized to suit your needs. Here are a few things you can do:
  • Add more fields to the Post model in blog/models.py
  • Customize the look and feel of the blog by editing the templates in the blog/templates directory and the static files in the blog/static directory.
  • Add more functionality to the blog by creating new views, models, and templates.

Deployment

  • Use a production-ready web server such as Apache or Nginx to serve the project in a production environment.
  • Use a database management system such as PostgreSQL or MySQL in a production environment instead of the development database (SQLite) used in this project.
  • Use the python manage.py collectstatic command to collect all the static files in one place
  • Use the python manage.py check --deploy command to check all the security and performance issues before deploying on production server

Contribution

You are welcome to contribute to this project by submitting pull requests.

Conclusion

We hope you find this Django Blog Project useful. If you have any questions or suggestions, please feel free to contact us. Happy blogging!

About

A microblogging platform where users can post, view blogs or even comment on them in a traditional way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published