Giter Club home page Giter Club logo

django-blog-it's Introduction

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="[email protected]"
    
    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

django-blog-it's People

Contributors

chaitu210 avatar vidyasagar-r avatar ashwin31 avatar nikhila05 avatar shirishagaddi avatar druuu avatar srosro avatar dependabot[bot] avatar vineeshan avatar durwasa-chakraborty avatar sumitjain01 avatar prashant0493 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.