https://github.com/erfanfs10/django-blog
A Simple Blog Project Using Django Framework # please read README.md for more information
https://github.com/erfanfs10/django-blog
backend blog bootstrap django python
Last synced: about 1 year ago
JSON representation
A Simple Blog Project Using Django Framework # please read README.md for more information
- Host: GitHub
- URL: https://github.com/erfanfs10/django-blog
- Owner: erfanfs10
- Created: 2023-02-04T09:49:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-04T17:38:21.000Z (over 2 years ago)
- Last Synced: 2024-01-05T17:34:33.074Z (over 2 years ago)
- Topics: backend, blog, bootstrap, django, python
- Language: JavaScript
- Homepage:
- Size: 1.01 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-blog
A Simple Blog Project Using Django Framework Features used in this project :
* Set A Profile
* Manage Your Posts
* Like Posts
* Used Redis as Cache backend
* Used Session Framework
* Used Message Framework
* Send a Welcome Email using celery with Redis
How to run the project?
1:
* install requirements.txt with command : pip install -r requirements.txt
2:
* install Redis and make sure it's active and running
3:
* Create a file with the name local_setting.py beside setting.py and add the following code:
* SECRET_KEY = 'YOUR SECRET KEY'
* DEBUG = True # if you want to use this project in production change the value to False.
* EMAIL = "YOUR EMAIL ADDRESS"
* APP_PASSWORD = "YOUR APP PASSWORD"
* ALLOWED_HOSTS = ['*'] # if you want to use this project in production replace * with your domain .
4:
* Run python manage.py migrate
* Run python manage.py createsuperuser
5:
* run python manage.py runserver
6:
* celery -A blog worker -Q email -l INFO # if you don't run this, emails will not send to the users.
ENJOY THE PROJECT :)