Skip to main content

A Django blog app with features of a standard blogging platform.

Project description

django-bona-blog

A Django blog app with features of a standard blogging platform.

PyPI version

Table of contents

General info

An Open-Source Django blogging app like Medium and Real Python. It has features of a standard blogging platform.

Screenshots

Authors Dashboard Page
Screenshot_2020-06-25 Bona Dashboard Home
Create Article Page
Screenshot_2020-06-26 Bona Dashboard Create Article(2)
Authors Profile Details Page
Screenshot_2020-06-25 Bona Dashboard Profile Details
Home Page List of Categories Page
Home Categories List
Category Articles List Page Author Articles List Page
Category Article List Author Articles
Article Detail Page
Screenshot_2020-06-26 BONA Test Article

Features

  • Mobile App Version
  • Dashboard for Authors
  • WYSIWYG Editor
  • Author Login
  • Author Password Reset
  • API for Clients
  • Category List
  • Category Articles List
  • New Category Submission
  • Related Articles
  • Comments
  • Articles Search
  • Article Social Media Share
  • Article Minute Read
  • Article Number of Words
  • Article Number of Views
  • Article Tags
  • Tag Related Articles
  • Markdown Support
  • Responsive on all devices
  • Pagination
  • Clean Code
  • 90% test coverage

Technologies

  • Python 3.6
  • Javascript
  • Jquery
  • Ajax
  • PrismJS
  • Django 3
  • HTML5
  • CSS3
  • Bootstrap 4
  • Ion Icons
  • Font awesome
  • TinyMCE 5
  • SQLite
  • PostgreSQL

Setup

To run this app, you will need to follow these 3 steps:

1. Requirements

  • a Laptop

  • Text Editor or IDE (eg. vscode, PyCharm)

  • Python 3.6 +

  • Django 2.2+

2. Install Python and Pipenv

3. Local Setup and Running on Windows, Linux and Mac OS

a. Install package with pip or pipenv
  ```
      $ pip install django-bona-blog

  ```

               or 
  ```
      $ pipenv install django-bona-blog

  ```             
b. Add django_filters, tinmyce, taggit and rest_framework to your INSTALLED_APPS in settings.py:
    INSTALLED_APPS = (
        ...
            'django_filters',
            'rest_framework',
            'taggit',
            'tinymce',
    )
c. Add blog to INSTALLED_APPS in settings.py for your Django project:
    INSTALLED_APPS = (
        ...
        'blog.apps.BlogConfig',
    )
d. Add blog.urls, tinmyce.urls and api.urls to urls.py of your project:
    urlpatterns = [
      ...
      path('tinymce/', include('tinymce.urls')),
      path('blog/', include('blog.urls')),
      path('api/v1/article/', include('blog.api.v1.routers.routers')), 
  ]
e. Add configuration to serve static files in development to urls.py of your project:

     from django.conf import settings


     if settings.DEBUG:
        urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

f. Create blog database tables
   $ python manage.py migrate blog
g. Add dashboard configuration to your project settings.py:
   # Account Settings
     LOGIN_URL = '/account/login/'
     LOGIN_REDIRECT_URL = '/author/dashboard/'
     LOGOUT_REDIRECT_URL = '/account/logout/'
h. Add email configuration for account signup and password reset
   # Email Settings (Development)
     EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'



  # Email Settings (Production)
    EMAIL_BACKEND = ''
    EMAIL_HOST = ''
    EMAIL_HOST_USER = ''
    EMAIL_HOST_PASSWORD = ""
    EMAIL_PORT = 587
    EMAIL_USE_TLS = True
Running Tests
   $ python manage.py test blog.tests

Status

Project is: in progress

Contact

Created by Williano - feel free to contact me!

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

Contributing

  1. Fork it (https://github.com/Williano/django-bona-blog.git)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-bona-blog-1.1.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_bona_blog-1.1.0-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

File details

Details for the file django-bona-blog-1.1.0.tar.gz.

File metadata

  • Download URL: django-bona-blog-1.1.0.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for django-bona-blog-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1d42dcb54de043a95de4fcecf36a6ea7c75c6d4371bf238b1395c9175b11c60f
MD5 a2dc31e5af51794583d7fc9283e2d794
BLAKE2b-256 37b15a9ae51b2356907c8174719ed47d8db7ba3079409f7cd201c5be46f63ace

See more details on using hashes here.

File details

Details for the file django_bona_blog-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_bona_blog-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 47.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for django_bona_blog-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4125e68e33ad0a1f46e189564128c00ee6c18e292c89e69240ec6de394e81117
MD5 31bc41aec485f1a31e5ac0e977927e8b
BLAKE2b-256 dc4d8116e6fa18ad14f5baa7e5a85473c524a4e0dc81d5fd9ee580e1daf49b08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page