Hello Stephanie,
All the last six files can stay where they are (no problem). Observer if the commands in the Dockerfile file are copying the module(django_project) into the image. After you start the containner(docker-compose up) you could acess it with "docker exec -it <name container> sh".
How is your dockerfile and your .dockerignore?
How is your dockerfile and your .dockerignore?
Stephanie Goulet <stephanie.a.goulet@gmail.com> escreveu no dia quinta, 8/09/2022 à(s) 14:27:
Hi all, any help would be appreciated:--Question:Context:
- I'm new to this
- To learn, I went through the book Django for Beginners and am now working through Django for Professionals
- I'm on page 29 of Chapter 2: Docker Hello, World! in the Django for Professionals PDF
- It seems like I successfully did the "docker build ." command, but I'm running into trouble with the "docker-compose up" command. It's giving some traceback errors and a line that says "ModuleNotFoundError: No module named 'django_project'" which is why I suspect that I may have saved some of the files in the wrong place (maybe all of them belong in the 'django_project' folder?).
Thank you in advance!Best,Stephanie
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2e1368cf-cee9-4aac-a74b-d727094b4f36n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA-J3id6ZLCyONOqNx2Tdbyv3vR_g%3DBpYt-PEzTnGKqbV%2BTJTQ%40mail.gmail.com.
No comments:
Post a Comment