-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.md
68 lines (63 loc) · 2.21 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# TechBlog
You can clone and customize this project to develop your own blog website using Python Django.
### Set up project locally
Prerequisite
1. Python 3.7
2. PostgreSQL 10
**Steps to configure and run the project**
1. Create a virtual environment.
2. Initialise pre-commit hook:
```bash
pip install pre-commit && \
pre-commit install && \
export LC_ALL=en_US.UTF-8; export LANG=en_US.UTF-8
```
3. Install required packages:
```bash
pip install -r requirements.txt
pip install -r requirements.dev.txt
```
4. Add `.env` file to the project you can refer `.env.template`.
5. Make database migrations:
1. ***Note***: Create a DB (with same name that you have been added in the .env file) first in PostgreSQL before making migrations.
```bash
./manage.py makemigrations
./manage.py migrate
```
6. Collect static files:
```bash
./manage.py collectstatic
```
7. Create a super user to access Django Admin panel:
```bash
./manage.py createsuperuser
```
8. Finally, run the project:
```bash
./manage.py runserver
```
### Features/Modules
This project has various integrated features/modules:
1. Website for Users
2. Admin Interface
3. Author Profiles
4. CKEditor for Adding Blogs
5. Blog Sharing on Social Media
6. Comments Section for Blogs
7. Blog Read Time Calculator
8. Blog Search Engine
9. Contact Us Page
10. Email Notifier
11. RSS Feed
12. Sitemap
13. SEO (Search Engine Optimization), etc.
### References
1. [Freepik: Illustration vectors](https://www.freepik.com/vectors/illustrations)
1. [JS library: showdown for rendering md files](https://github.com/showdownjs/showdown)
2. [Showdown demo](http://demo.showdownjs.com/)
3. [Python Markdown package demo](https://github.com/Python-Markdown/markdown/wiki/Tutorial:-Writing-Extensions-for-Python-Markdown)
4. [Django Book](https://django-book.readthedocs.io/en/latest/index.html)
5. [Migrations Issue](https://stackoverflow.com/questions/29253399/how-to-reset-migrations-in-django-1-7)
6. [CKEditor Docs](https://libraries.io/github/django-ckeditor/django-ckeditor)
7. [Privacy Policy Generator](https://www.privacypolicygenerator.info/)
*Please review the [**LICENSE**](LICENSE) file before using this project.*