Skip to content

mhazarabad/Django-Blog

Repository files navigation

Django Blog Project

Python JavaScript CSS3 HTML5 Django GIT Swagger

Welcome to the Django Blog Project! Portfolio Project - Ready for Further Development

Table of Contents

Features

  • Create and Edit Posts: Write and edit your blog posts with ease in Django admin panel.
  • Rich Text Editor: Use the CKEditor rich text editor for creating visually appealing content.
  • Tagging System: Organize your posts with tags for better categorization.
  • SEO Friendly: Optimize your blog for search engines to reach a wider audience.
  • Comments: Engage with your readers through comments on each post.
  • Categories: You can add categories as much as you want and assign posts to them.
  • Search: Search added for APIs.
  • Filter: Filter posts based on their tags or categories.

Installation

  1. Clone the repository:
   git clone https://github.com/yourusername/django-blog-project.git
  1. Create a virtual environment:
   python -m venv venv
  1. Activate the virtual environment:

    • On Windows:
     venv\Scripts\activate
  • On macOS and Linux:
     source venv/bin/activate
  1. Install dependencies:
   pip install -r requirements.txt
  1. Apply database migrations:
   python manage.py migrate
  1. Create a superuser account:
   python manage.py createsuperuser
  1. Run the development server:
   python manage.py runserver
  1. Open your browser and navigate to http://127.0.0.1:8000/ to access the blog.

Usage

  1. Log in with the superuser account created during installation.
  2. Start creating and managing your blog posts using the CKEditor rich text editor.
  3. Customize the blog settings in the admin panel.

Customization

  • Static Files: Customize static files in the static directory.
  • Templates: Modify HTML templates in the templates directory.
  • Styling: Adjust the styles in the static/css directory.
  • Settings: Fine-tune your blog settings in the settings.py file.

API Documentation

Check the OpenAPI API document in the api-documents folder for details on the blog's API.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as you see fit.

Happy blogging! 🚀

Contact Me

I'm available on https://mhazarabad.github.io.

About

Simple blog using Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published