Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Web Hooks for Gitlab using PHP and Shell Scripts
Web-hooks play vital role if you are in Continuous Integration(CI). Higher Level organizations follow GitLab for CI purposes if they operate on open source solutions and at times every developer needs to check his code integrity. At times like that, web-hooks can help us. -
ELK Stack for Parsing your Logs
In This Tutorial we will look onto parsing your syslog files and store and display it in interactable website. We will be using ELK Stack for this purpose, before Jumping Into ELK Stack Lets see what each meansE - Elasticsearch: open source search and analytics engine, which stores data and relies on Apache Lucene for searching.L - LogStash: Logstash is an open source data collection engine with real-time pipelining capabilities. -
Elastic Search Security Measures
After Installing Elastic Search in production, many new developers leave it unconfigured. In this Post, we will look into important config file changes and its implications -
ELK Stack for Parsing your Logs- Part 2
In Previous Tutorial we looked into Setting up EL Server which can ingest your Syslog files. In this Post, you will learn about pushing your Log Files to EL Server and How we will Display it in Kibana with Interactive Graphs. -
Using Flexbox with React Native
React Native is very similar to React, but one of the major difference is styling the components. For styling we use similar to CSS, is called Flexbox Layout. Mainly Flexbox purpose is to provide fixed layout on different screen sizes. -
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:using upstart2. adding it to /etc/rc.local3. creating a script in /etc/init.d and adding them to runlevel folders manually (i.e. incase you want to start, stop a command) -
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. -
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. -
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. -
Celery With Supervisor
Celery is a task queue with focus on real-time processing, while also supports task scheduling. Task queues are used as mechanisms to distribute work across multiple threads or machines. A task queues input is a unit of work called a task,dedicated worker processes and constantly moniter the queue for new work to perform. Celery communicates via messages using a broker to mediate between workers and clients. -
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 . -
TMUX - Sharing Terminal between Users
More Often you wouldve come across sharing screens with applications like Teamviewer, Windows Remote Desktop Connection or remmina (if you're a linux user). But if you want to share only your terminal, you can look upto Tmux. -
Securing Elastic Search Instance with Shield
Shield allows you to protect elastic search data with a username and password. It provides additional functionalities like encryption, role-based access control, IP filtering. It is Official Plugin of Elasticsearch which embeds well with other elastic search products like kibana and log stash. Initially, Shield is available for 30days try after which you can renew the license -
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/). -
MONGODB GROUP() VS MAPREDUCE VS AGGREGATION Framework
The group() command, Aggregation Framework and MapReduce are collectively aggregation features of MongoDB. group(): Group Performs simple aggregation operations on a collection documents. Group is similar to GROUP_BY in mysql. Output format : Returns result set inline. Sharding: Its not support in shared environment. Limitations: -
Advanced Querying in MongoDB
Advanced Queries of MongoDB: Inserting records to the database and retrieving data from database.1. Wrapped Queries: Like, sort, limit, count.2. Query Using Modifiers: set, increment, push,Set Elements in Array, AddToSet Modifier, each. -
MongoDB CRUD Operations with Python (Pymongo)
MongoDB with Python - Connection establishment, Create, Update, Retrieve and Delete operations explained with sample code. -
Full Text Search in Mongodb
Full text search is a custom implementation created by the MongoDB developers as a specific index typeFull text search as an index type when creating new indexes, just like any other.1.Indexing of multiple fields, with weighting to give different fields higher priority.2.Support for Latin based languages initially, with plans for other character sets later. -
Automate Django Deployments with Fabfile
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. -
Celery Flower to Monitor Task Queue
Celery is a task queue that is to built an asynchronous message passing system. It can be used as a bucket where programming tasks can be dumped. The program that passed the task can continue to execute and function responsively.To monitor the status of these celery tasks we use celery flowerThe Celery Flower is a tool for monitoring your celery tasks and workers. It's web based and allows you to see task progress, details, worker status. -
Multifactor Authentication with Django MFA using Google Authenticator
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. -
How do I Profile Django Application Using Django Web Profiler
When working with a large scale applications which includes many modules, we need to focus on the performance to give more user statisfaction, sustainability. To improve the performance, we need to analyze the application in various cases for ex: examine all urls with their response time and status codes, no of database queries with time for a particural url.In that case, django-web-profiler will be very helpful for your application. It'll records the application urls with data. -
Configure SSL with LetsEncrypt and Nginx
Configuring SSL is beneficial not only for security purpose but also for SEO too.Linuxsoftware foundation's initiated a program called Let’s Encrypt to give ssl certificates for free and it is in preview state as of today. You can whitelist your domain by registering here. You can configure after getting confirmation from Let’s Encrypt team. -
Setting Up Sentry - Web Application Event Tracking Platform
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 Deploy Django with Uwsgi and Nginx using Ansible Play Book
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).