Pycharm hangs using docker, docker-compose, and django
The project and its docker-compose containers reload just fine when when changing code in my project. However, when working on templates, they do not trigger a reload in the way Python code does. When I reload the Django project PyCharm freezes and I have to totally shutdown the container, remove it and it's image, and then restart Pycharm. (I use kill -9 ). Any idea how to reload faster to look at my changes in the browser.
Thanks:
Mitch
Please sign in to leave a comment.
Ok, the problem is my docker-entrypoint.sh. I just have it execute and empty $cmd to keep it from exiting with 0 and not running the web server. Any ideas on how to run the entrypoint while still using django's dev webserver?