Personal blog and documentation

@aRkadeFR blog and documentation on system and development

Deployment of Django application as Debian package

Deployment of a web application is complex.

As I’m a fan of the Debian distribution, I wanted to deploy Django application as a Debian package inside LXC.

Create the Debian files to build the package

If you really don’t know what packaging means, I suggest you to read this introduction on the Debian website..

Debian packages are simple archive that are decompressed with couple of scripts run before/during/after installation.

To make the Django application, you need to create a debian directory. Then create the control file, changelog etc. as the Debian policy recommends.

Couple of tips for making a Django application as a Debian packages:

Some of the tips come from this very good article.

Thanks for your attention ;)