How to spin up a django CMS project in less than 5 minutes!
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 D quickstart
Our community member Daniele Procida spent some time recently on building this quick start: https://github.com/divio/django-cms-divio-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 [email protected]:divio/django-cms-divio-quickstart.git cd django-cms-divio-quickstart docker-compose build docker-compose run web python manage.py migrate docker-compose run web python manage.py createsuperuser docker-compose up 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.blog comments powered by Disqus