django-blog-it

A simple installable app for writing blog posts


Keywords
django, django-blog, python
License
MIT
Install
pip install django-blog-it==0.2.3

Documentation

django-blog-it

https://readthedocs.org/projects/django-blog-it/badge/?version=latest Latest Release https://travis-ci.org/MicroPyramid/django-blog-it.svg?branch=master https://coveralls.io/repos/github/MicroPyramid/django-blog-it/badge.svg?branch=master Code Health Codacy Badge

Simple blog package developed with Django.

Features:

  • Dynamic blog articles
  • Blog pages
  • Contact us page (configurable)
  • google analytics
  • SEO compliant

Installation

  1. Install django-blog-it using the following command:

    pip install django-blog-it
    
    
            (or)
    
    git clone git://github.com/micropyramid/django-blog-it.git
    
    cd django-blog-it
    
    python setup.py install
    
  2. Add app name in settings.py:

    INSTALLED_APPS = [
       '..................',
       'simple_pagination',
       'django_blog_it.django_blog_it',
       '..................'
    ]
    
  3. Include the django_blog_it urls in your urls.py:

    from django.conf.urls import include
    
    urlpatterns = [
        url(r'^admin/', admin.site.urls),
        url(r'', include('django_blog_it.urls')),
    ]
    
  4. After installing/cloning this, add the following settings in the virtual env/bin/activate file to start discussions on blog articles

    You can create your disqus account at https://disqus.com/profile/login/
    
    # Disquss details
    
    DISQUSSHORTNAME="Your Disquss Short Name"
    
    export DISQUSSHORTNAME
    
    # google api key for short url
    
    API_KEY="google api key"
    
    export API_KEY
    
    # google captcha
    
    GOOGLE_CAPTCHA_SITE_KEY="Site key"
    
    export GOOGLE_CAPTCHA_SITE_KEY
    
    GOOGLE_CAPTCHA_SECRET_KEY="Secret key"
    
    export GOOGLE_CAPTCHA_SECRET_KEY
    
    # Google Analytics Account
    
    GOOGLE_ANALYTICS_ID="UA-123456789"
    
    export GOOGLE_ANALYTICS_ID
    
    # Google Login
    
    GP_CLIENT_ID="google client id"
    
    export GP_CLIENT_ID
    
    GP_CLIENT_SECRET="secret key"
    
    export GP_CLIENT_SECRET
    
    # Facebook Login
    
    FB_APP_ID="facebook app id"
    
    export FB_APP_ID
    
    FB_SECRET="023df180c6d868e76a02aec17134c843"
    
    export FB_SECRET
    
    # Default E-mail
    
    DEFAULT_EMAIL="noreply@djangoblogit.com"
    
    export DEFAULT_EMAIL
    
  5. If you cloned the package from git use virtualenv to install requirements:

    pip install -r requirements.txt
    

You can try it by hosting on your own or deploy to Heroku with a button click.

Deploy To Heroku:

Visit our Django web development page Here

We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here