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 hashes)

Uploaded Source

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