MicroPyramid
Blog


LATEST BLOGS

Multifactor Authentication with Django MFA using Google Authenticator

Posted On 07 September 2016 By MicroPyramid

Use Django Multi-Factor Authentication method to verify user identity with more than one authentication methods. It can be used for user login, any transactional methods etc.

Deploy Django using CloudFormation Template

Posted On 27 June 2016 By MicroPyramid

CloudFormation helps in Using JSON templates to describe the resources needed from aws. With this approach, we don't have to repeat the same manual configuration every time. However manually creating a cloud formation template is complex, so CloudForm is used to simplify this task.

How to backup and restore mysql, postgresql and mongodb databases

Posted On 24 June 2016 By MicroPyramid

Data loss can happen when we accidentally delete the files, or when server crashes or system fails, or when we applied migrations to the data that didn't work so we don't get previous data with the schema. In the production environment, it's mandatory to do database backup when we do changes in the code.

How to create thumbnail image in Django templates using sorl-thumbnail?

Posted On 19 June 2016 By MicroPyramid

Sorl thumbnail is the package which is being widely used to generate thumbnail in Django. It will create thumbnail of given size for the given image, which won't work out in the case of responsive designs. Html5's 'srcset' attribute is the solution for this problem to load proper images to the corresponding resolutions, whose thumbnails generated with sorl thumbnail.

Django Template language Intro

Posted On 17 June 2016 By MicroPyramid

We can write the required logics based on programming[python] syntax in models and views but, when we want to write simple logics we should follow the django's template syntax, because programming[python] syntax is not allowed.

Deploying Your Django app on Heroku

Posted On 17 June 2016 By MicroPyramid

Heroku is a platform as a service (PaaS) that enables developers to build and run applications entirely in the cloud.
1. installation
2. Creating and Deploying app.
3. Dependencies Used

How to Mount S3 Bucket on Local Disk

Posted On 31 May 2016 By MicroPyramid

It all starts with FUSE, FUSE is File System User Space. Operating Systems have Kernel Space and User Space. Kernel Space is where low level interaction with hardware occurs, this space has all privilages, User space is restricted, it has to communicate with kernel space to have access for resources.

php7 hosting on Ubuntu Server with Nginx(LEMP stack)

Posted On 28 May 2016 By MicroPyramid

PHP7 is the latest version with lot of performance improvements and every one want to update their servers and code to it. Lets see how to configure one and host your code.
Here we see the combination of ubuntu, nginx, php-fpm, php7, and mysql.
Compared to LAMP stack LEMP is powerfull as we use Nginx as reverse proxy and static file serving in contrast to Apache server.

Using AWS Lambda with S3 and DynamoDB

Posted On 28 May 2016 By MicroPyramid

AWS lambda is handy tool for event driven computation, here we will learn how to configure and setup lambda function so to run our function which basically logs some data to dynamodb whenever a file is created in our s3 bucket.

Kubernetes Installation on BareMetal(Fedora)

Posted On 28 May 2016 By MicroPyramid

Kubernetes manages containerized applications across multiple hosts. With years of experience in managing highly scalable products, google has released kubernetes an open source project which manages containerized applications across multiple hosts. Kubernetes is actively developed with more than 700 active developers. Kubernetes can be setup over any cloud platform any os. Its is based on etcd which is a key value store that provides shared configuration and service discovery for clusters.

Need any Help in your Project?Let's Talk