MicroPyramid
Blog


LATEST BLOGS

Python Arrow To Show Human Friendly Time

Posted On 22 January 2016 By MicroPyramid

Arrow is a python library and command-line tool to genrerate, manipulate dates, times, timestamps.
use of arrow:
With the use of arrow, we can also create, manipulate, format and convert dates, times, and timestamps, convert timezones, generates time spans, ranges, floors and ceilings with a less code.

Django Testing Automated with Self Hosted Gitlab CI and Docker

Posted On 22 January 2016 By MicroPyramid

It is a bit pricy if you want to host code for collaboration using bitbucket or github on your own VPS or On-Premisis servers. Gitlab in midst of this provides a community edition which is packed with essential features and also free of cost. Both Editions ship with CI integrated in it and also can handle 3rd party CI applications like Jenkins or Bamboo ..etc.,

Django efficient implementation of Amazon s3 and Cloudfront CDN for faster loading.

Posted On 22 January 2016 By MicroPyramid

Django by default to store the files in your local file system. To make your files load quickly and secure we need to go for any third party storage systems. AWS s3 is one of the storage service for the Internet. It is designed to make web-scale computing easier for developers. django has a package called django-storages which can be used to store the files in the amazon s3 and serve them from its cloudfront service.

Understanding Checkout flow in Django Oscar.

Posted On 22 January 2016 By MicroPyramid

Explaining Django Oscar checkout flow.

How to Create initial django migrations for existing DB schema.

Posted On 22 January 2016 By MicroPyramid

Django provides the comfort database migrations from its version 1.8, with which we can avoid the usage of third party packages like south. Adding migrations to new apps is straightforward - they come preconfigured to accept migrations, and so just run make migrations once you’ve made some changes. But if your app already has models and database tables, and doesn’t have migrations yet or you got your migrations messed up, you’ll need to convert your app to use migrations.

Deploying Django project on Elastic Beanstalk

Posted On 22 January 2016 By MicroPyramid

Here You can learn about how to setup and deploy a Django application to Amazon Web Services (AWS).

Tools/technologies used:
Python v2.7
Django v1.7
Amazon Elastic Beanstalk, EC2, and S3

How to deploy django with uwsgi and nginx using Ansible play book.

Posted On 11 January 2016 By MicroPyramid

Ansible is a scripting language mostly used to automate installing applications, deploying apps etc..
Why Ansible:
You may think why learn new language if I can do the same using shell scripts, well that's ok but in my opinion ansible doesn't take much time to learn and shell scripts could become complex as the projects scale up. You can read afurther details over here(https://news.ycombinator.com/item?id=6431552).

Setting Up Sentry - Web Application Event Tracking platform

Posted On 25 December 2015 By MicroPyramid

When you want to track your exception and log mesages in a UI rather than storing it in a file(which we usually do), we can use SENTRY. Sentry provides real-time crash reporting and exception tracking for your web and mobile apps.

How to create Custom User Model or Extend User Model in Django?

Posted On 21 December 2015 By MicroPyramid

Django provides built in authentication which is good for most of the cases, but you may have needs that are being served with the existing system. For Ex: You want 'email' for authentication purpose rather than Django's username field and you want an extra field called 'display_name' as full name for the logged in User. To meet the above requirements, we need to customize Django's built-in user model or substitute a completely customized model.

how to setup custom domain for amazon cloudfront

Posted On 17 November 2015 By MicroPyramid

We all want our own domain name to be setup for cloud front instead of amazon default cloud front domain name. We need two things for that to happen.

1. DNS should be served from amazon Route53
2. SSL for our custom domain

Need any Help in your Project?Let's Talk