https://github.com/jooy2/django-simple-blog-example
Simple blog examples using Python3 + Django 3.x framework
https://github.com/jooy2/django-simple-blog-example
blog django example python3
Last synced: 11 months ago
JSON representation
Simple blog examples using Python3 + Django 3.x framework
- Host: GitHub
- URL: https://github.com/jooy2/django-simple-blog-example
- Owner: jooy2
- License: mit
- Created: 2019-11-21T04:40:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:14:23.000Z (about 3 years ago)
- Last Synced: 2025-01-22T02:47:23.106Z (about 1 year ago)
- Topics: blog, django, example, python3
- Language: CSS
- Homepage:
- Size: 802 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django-simple-blog
Simple blog example using Python3 and Django framework.
## Features
- Flat design & Simple layout
- Responsive web (mobile support)
- User authentication with Django basic auth
- Easy to publish posts
- Easy to customize blog
- Comment and Like system
## Requirements
- Python 3.7.4 or higher
- Django 3.0 or higher
- SQLite3
- Browser support ES6 script
## Dependencies
- [BootStrap 4 & JQuery 3.4.1 (Installed)](https://getbootstrap.com/)
- [django-summernote](https://github.com/summernote/django-summernote)
- [django-el-pagination](https://github.com/shtalinberg/django-el-pagination)
## Installation
First, you need to activate python virtual environment (virtualenv) in project root directory with following tutorial: https://docs.python.org/3/tutorial/venv.html
Then install requirements with follow command:
```shell script
(venv)$ pip install -r requirements.txt
```
You need to create migration files. If you did, run server to execute follow command:
```shell script
(venv)$ python manage.py makemigrations
(venv)$ python manage.py migrate
(venv)$ python managy.py runserver
```
OR, just execute following script file:
!!! **WARNING**: This command removes all migration files !!!
```shell script
(venv)$ ./initialize.sh
```
If you want to create superuser, enter the follow command:
```shell script
(venv)$ python manage.py createsuperuser
```
## License
MIT License
Copyright (c) 2020 jooy2
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
## References
- Django Girls Tutorial : https://tutorial.djangogirls.org