\documentclass[twoside=no,parskip=half,numbers=enddot,bibliography=totoc,index=totoc,listof=totoc]{scrbook}
\usepackage{amsmath}
\usepackage{makeidx}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{csquotes}
\usepackage[acronym]{glossaries}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{listing}
\usepackage{minted}
\usepackage{graphics}
\usepackage{float}
\usepackage[export]{adjustbox}

\usepackage{gwiftemplate}

\renewcommand\listlistingname{Liste des morceaux de code}

\onehalfspacing

\makeindex

\title{Minor Swing with Django}
\author{Fred}
\date{Entre 2015 et 2032}
\publishers{Me, Myself and I Editions}

\setcounter{tocdepth}{1}
\begin{document}
\maketitle

\frontmatter

\include{chapters/licence.tex}

\include{chapters/introduction.tex}

\tableofcontents

\mainmatter

\include{parts/environment.tex}

\include{chapters/maintenability.tex}
\include{chapters/architecture.tex}
\include{chapters/tests.tex}
\include{chapters/tools.tex}
\include{chapters/working-in-isolation.tex}
\include{chapters/python.tex}
\include{chapters/new-project.tex}
\include{chapters/continuous-integration.tex}

\include{parts/deployment.tex}

\include{chapters/infrastructure.tex}
\include{chapters/debian.tex}
\include{chapters/docker-compose.tex}
\include{chapters/heroku.tex}
\include{chapters/kubernetes.tex}
\include{chapters/deployment-tools.tex}
\chapter{Conclusions}

\include{parts/principles.tex}

\include{chapters/models.tex}
\include{chapters/migrations.tex}
\include{chapters/administration.tex}
\include{chapters/views.tex}
\include{chapters/urls.tex}
\include{chapters/templates.tex}
\include{chapters/forms.tex}
\include{chapters/authentication.tex}
\include{chapters/context-processors.tex}
\include{chapters/security.tex}
\chapter{Conclusions}

\include{parts/soa.tex}

\include{chapters/api.tex}
\include{chapters/svelte.tex}
\include{chapters/filters.tex}
\include{chapters/trees.tex}
\include{chapters/i18n.tex}
\include{chapters/deployment-processes.tex}
\include{chapters/gdpr.tex}

\chapter{Conclusions}

\include{parts/go-live.tex}

\include{chapters/gwift.tex}
\include{chapters/khana.tex}

\chapter{Conclusions}

\appendix

\part{Annexes}

\include{annexes/grafana.tex}
\include{annexes/sonar.tex}
\include{annexes/snippets.tex}

\chapter{Fly.io}

\backmatter

\part{Ressources}

\printindex

\bibliography{references}
\bibliographystyle{plainnat}

\include{glossary.tex}

\include{resources.tex}

\listoffigures
\listoftables
%\listoflistings
\clearpage
\addcontentsline{toc}{chapter}{\listlistingname}{\listoflistings}

\include{chapters/thanks.tex}

\end{document}
