Simple blog package developed with Django.
Features:
- Dynamic blog articles
- Blog pages
- Contact us page (configurable)
- google analytics
- SEO compliant
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
Add app name in settings.py:
INSTALLED_APPS = [ '..................', 'simple_pagination', 'django_blog_it.django_blog_it', '..................' ]
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')), ]
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
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