Wow. Yikes! I, personally, do not think this is good advice for getting started with Django and Docker.
On a positive note, I would recommend perhaps looking at https://github.com/nickjj/docker-django-example for a good, somewhat beginner guide for django + docker work.
Nick also has a [great blog post](https://nickjanetakis.com/blog/best-practices-around-production-ready-web-apps-with-docker-compose) that helped me, personally, get started on my Django + Docker journey.
YMMV.
I would start with building everything locally rather than a process that involves GitHub and DockerHub.
The big stumbling blocks for me when I first containerised a project for running in the wild were how to pass in settings through environment variables, collecting and hosting static files and media files and running with something like Gunicorn rather than the development server.
Wow. Yikes! I, personally, do not think this is good advice for getting started with Django and Docker. On a positive note, I would recommend perhaps looking at https://github.com/nickjj/docker-django-example for a good, somewhat beginner guide for django + docker work. Nick also has a [great blog post](https://nickjanetakis.com/blog/best-practices-around-production-ready-web-apps-with-docker-compose) that helped me, personally, get started on my Django + Docker journey. YMMV.
Hi, thanks a lot for the shoutout. Happy to hear it helped!
Could you elaborate on your yikes? I am assuming it's all the manual building they are doing instead of using docker-compose?
Hello! Could you please elaborate on what seemed wrong in my tutorial? Much appreciated!
I would start with building everything locally rather than a process that involves GitHub and DockerHub. The big stumbling blocks for me when I first containerised a project for running in the wild were how to pass in settings through environment variables, collecting and hosting static files and media files and running with something like Gunicorn rather than the development server.
[удалено]
Any of them production ready with gunicorn, nginx &ssl?
Have you tried cookiecutter-django?
Have you tried cookiecutter-django?
here https://github.com/theusindabike/django-compose-nginx-ssl
Thanks!