HowTo

How to Copy Table Data To Clipboard in Django with JavaScript

In this tutorial we will explore a two methods for creating a table where bywe can click on each row and copy the data to clipboard respectively.This is quite useful when you want to add copy row data instead of the entire table. Let us see how to do that. Designing the Table We will …

How to Copy Table Data To Clipboard in Django with JavaScript Read More »

Supervisor – A Process Management Tool in Python

Supervisor is a process control and management system which is very useful when running programson servers continuously. Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. By the end of this tutorial you will learn How to install and setup supervisor How to …

Supervisor – A Process Management Tool in Python Read More »

Deploying Django with Gunicorn,Nginx & Supervisor

In this tutorial we will explore how to deploy our django project to a production server. Below are the general steps. Serving Django Project with gunicorn Setup nginx conf in /etc/nginx/sites-available/myproject.conf Create a symbolic link in /etc/nginx/sites-enabled Restart nginx to see 501 Create a myproject.supervisor.conf file in /supervisor/conf.d/ directory Run supervisorctl Using Gunicorn to Serve …

Deploying Django with Gunicorn,Nginx & Supervisor Read More »

How to Install Latex Packages on Ubuntu

Latex is a tool for creating professional-looking documents via typesetting.In this tutorial we will explore how to install latex and other packages that are used by latex. Installing Latex To install latex on Linux Ubuntu you can use the following Latex also requires some other packages that services as interpreters or engines. These includeluatex, bibtex, …

How to Install Latex Packages on Ubuntu Read More »

Create an Upload and Download Files API Endpoint with FastAPI

FastAPI is an awesome and simple framework for building APIs (application programming interfaces). Among the various features of FastAPI out of the boxwe will be exploring how to include an endpoint whereby we can upload a json file and return another file that we can download. In this tutorial we will create an endpoint for …

Create an Upload and Download Files API Endpoint with FastAPI Read More »

Monitoring Django App with Azure Application Insights

Monitoring Django Applications with Azure App Insights Application Insights is an application performance monitoring(APM) service developed by Microsoft Azure.It is quite useful for monitoring both server side and client side applications built with dotnet,nodejs,java and also python.In this tutorial we will explore how to monitor your django apps and project using App Insights(AI for short). …

Monitoring Django App with Azure Application Insights Read More »

Tools for Benchmarking Performance & Load Testing Web Apps

A Benchmark is a set of standard or point of reference against which things may be compared. As a reference point it helps us to know if our software or product is performing well or not. Hence in a way benchmarking is useful for determining and measuring performance. It is useful for setting a baseline …

Tools for Benchmarking Performance & Load Testing Web Apps Read More »

How to Stop Django or Flask Server without Ctrl + C

Ctrl + C is an awesome and common way to stop most process especially when being run from the terminal. In this tutorial we will explore how to stop a Django application or Flask application without using Ctrl + C. This idea is useful when you are working within a script or a CI/CD pipeline …

How to Stop Django or Flask Server without Ctrl + C Read More »

Logging into PostgreSQL without password prompt

Postgresql is a powerful opensource database software that is very useful as botha production and development database management software.In this tutorial we will explore three ways we can log into a postgresql database without password prompt. By default, when logging into postgresql using psql, you will encounter the fatal error of authentication. psql: error: connection …

Logging into PostgreSQL without password prompt Read More »