Posted On 24 September 2015 By MicroPyramid
In this blog, I'm going to explain you how to write the Sphinx docs using reStructuredText to host in the Read the Docs.
$ pip install Sphinx
And we have script called sphinx-quickstart in Sphinx that sets up a source directory and creates a default conf.py with the most useful configuration values from a few questions it asks you. Just run the following command-
Posted On 21 September 2015 By MicroPyramid
We use sorl-thumbnail for scaling images by keeping the original one intact. Sorl proven to be great tool for generating different sized images throughout website. I presume that you know how to use sorl-thumbnail. Here we see how to preserve filename. Search Engines will give importance to image alt tag content but it definately have some impact on relevant image file name too.
Posted On 15 September 2015 By MicroPyramid
Fabric is a Python library and command-line tool with the ability to execute commands on a remote server. It is designed to use SSH to execute system administration and deployment tasks on one or more remote machines.
Posted On 31 August 2015 By MicroPyramid
Ansible is one of the few automation tools which uses an agentless architecture, where you dont need to install daemons in client nodes for interacting with controlling system. It combines multi-node software deployment, ad hoc task execution, and configuration management.
Posted On 09 August 2015 By MicroPyramid
While handling Large amounts of data with elasticsearch, you may run out of server capacity or compute power, Forming a Elasticsearch cluster will reduce the load distribution. In Single ElasticSearch Instance end point acts as Data Node + Master Node + Client Node.
Posted On 31 July 2015 By MicroPyramid
Authentication backends allow the ability to change what method checks your users credentials.
For web services, ie Facebook authentication, you don't have access to user data like a password. Without password(not like random string) we can't create a user in django. Facebook connect provides you details of the currently authenticated user.
Posted On 30 July 2015 By MicroPyramid
In our previous blog post we got an idea of what are the things that Google's Page Speed Insights will take into count to give page socre, now in the present blog post we'll get to know what are the techniques we can use to improve the page scrore.
Posted On 10 July 2015 By MicroPyramid
Optical Character Recognition(OCR) is the process of electronically extracting text from images or any documents like PDF and reusing it in a variety of ways such as full text searches. In this blog, we will see, how to use 'Python-tesseract', an OCR tool for python. It will recognize and read the text present in images. It can read all image types - png, jpeg, gif, tiff, bmp etc. It’s widely used to process everything from scanned documents.
Posted On 16 June 2015 By MicroPyramid
Ansible Galaxy is the hub of ansible scripts contributed by users. To follow this article its important that you know about ansible. We have a simple, easy to follow blog about ansible scripting here(https://micropyramid.com/blog/how-to-deploy-django-with-uwsgi-and-nginx-using-ansible-play-book/).