Jenkins - Adding Agent Nodes

In this lesson you will learn how easy it is to add a node to Jenkins. But what is most importantly I will explain the ssh public private keys thingy.

It is important …

Watch

Jenkins - Master Installation and Configuration

Jenkins is essential part of django production toolbox. Together with ansible and terraform they are best production combos of any deployments.

In this lesson you will learn how to install and configure jenkins …

Watch

Python Applications Packaging with Setuptools

In this lesson you will learn how to package your python application. I will use setuptools to illustrate the process. Setuptools is de facto standard for packaging and distribution of python modules. …

Watch

Nginx + Django Static Files Classical Approach

This lesson is continuation of lesson #6. We will configure nginx as systemd service and place it in front of our gunicorn service. Also, I will explain in detail relationship …

Watch

Gunicorn

In this lesson you will learn in less than 10 minutes how to setup a gunicorn systemd service on your local computer. You will be able switch between development and production environment …

Watch

Django Deployments General Overview

In this lesson I show a general overview of django deployments. I show how development environment different in general from production. Two simple production scenarios are presented. This lesson is only introduction …

Watch

Model Methods

Application logic does not belong to django views, it is a good practice to move it inside other modules. In this lesson you will learn how to offload business logic to a …

Watch

Django Logging Requests

Django logging behaves differently in development and production environments. This is a common trap for many developers. The confusion comes mostly because 'django.server' logger works only in development (DEBUG=True + runserver command); …

Watch

DRY for Simple Views in Django

In real world web applications it is necessary to write standard pages like privacy policy, cookies policy, terms. Those pages are implemented as very simple Django views and tend to be very …

Watch

Python3 f-Strings - a Better Way to Format Strings

Python supports multiple ways to format text strings. These include %-formatting , str.format(). Each of these methods have their advantages, but in addition have disadvantages that make them cumbersome to use in …

Watch