Innovate anywhere, anytime withruncode.io Your cloud-based dev studio.

MicroPyramidBlog

Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.

MongoDB CRUD Operations with Python (Pymongo)

MongoDB with Python - Connection establishment, Create, Update, Retrieve and Delete operations explained with sample code.

Ansible Galaxy Introduction

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/).

Server Management Read Full Post

Django Hosting on Nginx with Uwsgi for High Performance

Quick guide to host django application using uwsgi and nginx which offers better resource utilization and performance .

Server Management Read Full Post

Django on GAE (Google App Engine)

Google App Engine (often referred to as GAE or simply App Engine) is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers.App Engine offers automatic scaling for web applications—as the number of requests increases for an application, App Engine automatically allocates more resources for the web application to handle the additional demand.

Server Management Read Full Post

Best Cross Platform Framework for Mobile App Development

React Native is an open-source cross platform for mobile application(Android and IOS) development, developed by Facebook. Important things to consider React Native for mobile apps: High Development speed, Low-cost and High Performance.

React Native Read Full Post

Tracking Location Using React Native in Android

To track the location in react native we have ‘geolocation’. Geolocation support both ios and android. Before using the geolocation we need to request to access the user location by adding below line in android/app/src/main/AndroidManifest.xml.

React Native Read Full Post

Daemonizing any Command with SUPERVISOR

Daemonizing a command means to make it run as a background process.

so when we have a command that we want to daemonize there are many ways to do it, most common methods are:

  1. using upstart
    2. adding it to /etc/rc.local
    3. creating a script in /etc/init.d and adding them to runlevel folders manually (i.e. incase you want to start, stop a command)
Server Management Read Full Post

Configuring WordPress Blog as Sub-Directory Alongside Django in Nginx

Using regular expressions within Nginx we can bind urls to particular application servers, below we will configure wordpress blog and django site to be deployed on same domain name with each having their respective application servers i.e. ‘fastcgi’ for wordpress and ‘uwsgi’ for django.

Server Management Read Full Post

How to Do Page Redirections with Nginx

Here we learn how to redirect a www to non-www or vice-versa also we see how to redirect pages. We will see differences between 301 and 302 redirection.

Server Management Read Full Post

Best Practices for Django and Django Rest Framework

Django is one such Rest API framework that has been continuously in the picture for its scalability, flexibility, and accountability to prepare the web API.

Django REST Framework Read Full Post