Month: March 2023

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 »