Skip to main content

A simple installable app for writing blog posts

Project description

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 https://img.shields.io/github/license/micropyramid/django-blog-it.svg 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:

https://www.herokucdn.com/deploy/button.svg

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

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-blog-it-0.3.1.tar.gz (113.0 kB view details)

Uploaded Source

File details

Details for the file django-blog-it-0.3.1.tar.gz.

File metadata

  • Download URL: django-blog-it-0.3.1.tar.gz
  • Upload date:
  • Size: 113.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for django-blog-it-0.3.1.tar.gz
Algorithm Hash digest
SHA256 95b81cb2905e2df838e69af7db28ab4e011109b28b9af7e504d8c9a660251bb2
MD5 01395e0458db455c3b69aa821df28673
BLAKE2b-256 622e4421f21b46faac256006469649150ae759fdeb63c97fbe32fd38fce145ae

See more details on using hashes here.

Supported by

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