Posts tagged: devops_1

Django DevOps Ansible Infrastructure

🏗️ Terraform + Ansible: Deploy Django Without Manual Server Steps

Manual server setup is unreproducible. Terraform defines infrastructure as code — servers, networks, firewalls. Ansible configures the environment — dependencies, Django deployment, database links, service restarts. Together they make deployment consistent, repeatable, and independent of …

CI/CD Django DevOps GitHub Actions

⚙️ A Working CI Pipeline for Django: What Actually Needs to Run

A Django CI pipeline requires three mandatory stages: tests (pytest/Django runner), linting (Black/flake8), and security scans (bandit/check --deploy). Everything else is optional. This post breaks down why each stage matters and how to configure them …

DevOps Server Hardening Deployment IaC

How I Deploy My Django App: One VM, Ansible, Docker, and What I Learned Writing It Down

Most portfolio deploys are done by hand and remembered by hope. I rewrote mine as code: Ansible to provision and harden a Hetzner VM, Docker Compose for dev and prod, Nginx with Let's Encrypt, Gunicorn, …

CI/CD Git Django DevOps

Staging Is Not Dev: Understanding Git Workflows and Environments

One of the biggest confusions for junior developers: where do I code, where do I test, and how does Git fit in? This post breaks down the three environments, the Git workflow that keeps things …