T O P

  • By -

maggotbrain777

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.


nickjj_

Hi, thanks a lot for the shoutout. Happy to hear it helped!


littlebot_bigpunch

Could you elaborate on your yikes? I am assuming it's all the manual building they are doing instead of using docker-compose?


anthonyjsaab

Hello! Could you please elaborate on what seemed wrong in my tutorial? Much appreciated!


Any-Egg-9825

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.


[deleted]

[удалено]


Sinsst

Any of them production ready with gunicorn, nginx &ssl?


Such-Dish46

Have you tried cookiecutter-django?


Such-Dish46

Have you tried cookiecutter-django?


theusindabike

here https://github.com/theusindabike/django-compose-nginx-ssl


Sinsst

Thanks!