Django-Core-Blog is a simple and basic blog project built with Django. It provides essential functionality for managing posts, categories, and tags. The project also includes a straightforward Bootstrap-based front-end for presentation.
This project serves as a foundational starting point for building a blog using Django. It offers the following key features:
-
Posts: Create, edit, and manage blog posts with rich content using the CKEditor library.
-
Categories: Organize posts into categories, providing a structured way to group related content.
-
Tags: Add tags to posts to improve content discoverability and navigation.
-
Bootstrap Front-End: A minimalistic front-end design based on Bootstrap for displaying blog content.
The project is intentionally kept simple, making it an ideal starting point for developers looking to build more advanced blogging platforms.
Django-Core-Blog includes built-in search functionality that allows users to search for specific content within the blog. You can perform searches for posts, categories, and tags. The search feature provides a convenient way to discover relevant content quickly.
To use the search functionality:
-
Navigate to the search bar on the website's front-end.
-
Enter your search query, such as keywords, post titles, categories, or tags.
-
Click the "Go!" button to initiate the search.
The search results will be displayed, helping users find the content they are looking for efficiently.
To run this project locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/FMashi/Django-Core-Blog.git
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows, use 'venv\Scripts\activate'
-
Install project dependencies:
pip install -r requirements.txt
-
Apply database migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser account to access the admin panel:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
The project should now be running locally at http://localhost:8000/. You can access the admin panel at http://localhost:8000/admin/ and use the superuser credentials created in step 5 to log in.
Create and manage posts in the admin panel by adding content and specifying categories and tags.
Navigate to the front-end to view and interact with the published blog posts.
The main libraries and packages used in this project include:
Django: A high-level Python web framework.
CKEditor: A rich text editor for creating and editing blog content.
Pillow: A Python Imaging Library that simplifies image handling.
This project can be further developed and extended to include additional features and improvements, such as user registration, comments, search functionality, and more. Feel free to contribute or build upon this foundation.
This project is licensed under the MIT License - see the LICENSE file for details.
Please replace `"https://github.com/FMashi/Django-Core-Blog.git"` with the actual URL of your project's GitHub repository.