Franky Bonanno

← News

Building a Document Management System: the story of DjangoVault

· Guides

Building a Document Management System: the story of DjangoVault

What happens when your documents pile up in folders, emails and USB sticks? This book answers by building DjangoVault, chapter by chapter: a real document management system, used in production for real.

It is not a list of features, it is the story of a project. You start from an empty installation of Django 6.1 and Python 3.14 and end up with a system that uploads and organizes documents with categories and versions; finds them with keyword search and with search by meaning (pgvector); has a responsive interface built with HTMX, with no JavaScript framework; processes files in the background with Celery; is deployed to production with Docker Compose, Nginx and HTTPS; and can also be used from outside the office through a WireGuard VPN.

The book has five parts, 17 chapters and five appendices. The appendices include a day-to-day operations guide, a glossary, every command, an index that maps each chapter to the phases of the project, and a complete guide to setting up a Samba file server with a permanent network drive on Linux, Windows and Mac.

The code is always complete and commented. Every chapter has its own folder in the GitHub repository, with the finished project ready to run.

Who it is for

Readers who know the basics of Python and want to learn Django on a real project, and developers who already work with Django and want to add semantic search, HTMX and a serious deployment.

What you need

Python 3.14, Docker, and a bit of curiosity.

Where to find it

The book is available on Leanpub: Building a Document Management System, with the complete code of every chapter. An Italian edition is also available: Costruire un sistema documentale.