You can clone and customize this project to develop your own blog website using Python Django.
Prerequisite
- Python 3.7
- PostgreSQL 10
Steps to configure and run the project
- Create a virtual environment.
- Initialise pre-commit hook:
pip install pre-commit && \ pre-commit install && \ export LC_ALL=en_US.UTF-8; export LANG=en_US.UTF-8
- Install required packages:
pip install -r requirements.txt pip install -r requirements.dev.txt
- Add
.env
file to the project you can refer.env.template
. - Make database migrations:
- Note: Create a DB (with same name that you have been added in the .env file) first in PostgreSQL before making migrations.
./manage.py makemigrations ./manage.py migrate
- Collect static files:
./manage.py collectstatic
- Create a super user to access Django Admin panel:
./manage.py createsuperuser
- Finally, run the project:
./manage.py runserver
This project has various integrated features/modules:
- Website for Users
- Admin Interface
- Author Profiles
- CKEditor for Adding Blogs
- Blog Sharing on Social Media
- Comments Section for Blogs
- Blog Read Time Calculator
- Blog Search Engine
- Contact Us Page
- Email Notifier
- RSS Feed
- Sitemap
- SEO (Search Engine Optimization), etc.
- Freepik: Illustration vectors
- JS library: showdown for rendering md files
- Showdown demo
- Python Markdown package demo
- Django Book
- Migrations Issue
- CKEditor Docs
- Privacy Policy Generator
Please review the LICENSE file before using this project.