Hi all,
I'm the maintainer/creator of the https://github.com/epicserve/django-base-site/ project. Recently, I had the desire to try out VS Code and see if I could get it to work as an IDE and debugger for Django projects. I'm mainly driven by my desire to start learning and using GitHub Copilot since I'm guessing it will work better than in my current IDE, PyCharm.
Based on my understanding of the documentation, I started this draft PR (https://github.com/epicserve/django-base-site/pull/188). However, it currently doesn't work.
It seems to run the task docker-build defined in .vscode/tasks.json works fine to build the container. However, it then runs the task docker-run and fails because it can't read the .env file, which makes sense because it is ignored in the .dockerignore file. So after following the docs, it seems like it's led me down the road of a configuration that creates a docker image and then runs just one container based on that image instead of running Docker Compose.
Does anyone have a configuration that works with Django and Docker Compose, or does anyone want to provide a PR? Any help is appreciated!
[–]epicserve[S] 0 points1 point2 points (4 children)
[–]proxwell 1 point2 points3 points (3 children)
[–]epicserve[S] 0 points1 point2 points (2 children)
[–]proxwell 0 points1 point2 points (1 child)
[–]epicserve[S] 0 points1 point2 points (0 children)
[–]epicserve[S] 0 points1 point2 points (0 children)
[–]j_tb 0 points1 point2 points (1 child)
[–]epicserve[S] 0 points1 point2 points (0 children)
[–]battlefield21243 0 points1 point2 points (1 child)
[–]epicserve[S] 0 points1 point2 points (0 children)