Technical articles | January 19, 2021

How to spin up a django CMS project in less than 5 minutes with Docker Compose

You have an idea for a website project and want to test it quickly? Then you should take a look at the new django CMS quickstart

5 minutes read

Our community member Daniele Procida spent some time recently on building this quick start: https://github.com/django-cms/django-cms-quickstart

The idea is that it’s the quickest and easiest possible way to get started with a django CMS project running in Docker. How quick and easy?

$ git clone django-cms:django-cms/django-cms-quickstart.git
$ cd django-cms-quickstart
$ docker-compose up --build -d
$ docker-compose run web ./manage.py migrate
$ docker-compose run web ./manage.py createsuperuser
$ open http://127.0.0.1:8000

It gives you a django CMS project with (or without) some common plugins and components, a Bootstrap 4 frontend and so on. It can run with uWSGI, Gunicorn or even Guvicorn for ASGI. It defaults to using Postgres, included in the Docker project, but can also run with MySQL. And if you want, it’s ready to use AWS S3 storage, but you don’t have to.

It gives you a django CMS project that’s very similar to what you’d get if you used the django CMS Installer - it should look pretty familiar to everyone who has used that.It will run happily locally on your own machine, and it’s also ready to be deployed on a Docker host. There’s a how to guide for getting it deployed on Divio, but that’s just one option.

We are very glad for any feedback. You are welcome to join us on Slack and reach out or leave a comment here.

Release

django CMS 5.1 is here: easier setup, flexible deployments, and a fresh editing experience

This release reduces friction across the whole project lifecycle: creating a new project, adding django CMS to an existing Django application, configuring larger deployments, controlling which plugins editors can use, and working with the CMS every day.

Release

django CMS 5.0.9 released: security, accessibility, and stability improvements

This release addresses three medium-severity security vulnerabilities and includes improvements to accessibility, Django compatibility, permissions, Content Security Policy support, and general editor stability.

Case Studies

How we built our professional services digital platform using django CMS

Compound Partners is a UK digital consultancy specialising in audience-centric user experience and content architecture for professional services firms. Fifteen years ago, a developer's recommendation pointed us at django CMS. Today, our entire business is built on it.