How to run an already built django project with docker?

29 views
Skip to first unread message

DJANGO DEVELOPER

unread,
Mar 29, 2021, 2:33:25 AM3/29/21
to Django users
Hi,
I have a django project which is already developed by another developer and it is containerised. Now the developer has send the project to me and wants me to do some changes in it?
can anyone guide me that how can I run the project using docker again?
database is postgresql.

Kunal Solanke

unread,
Mar 29, 2021, 2:40:13 AM3/29/21
to Django users
Thats really very little info, we don't know what's the state or configuration present in your codebase
I'd suggest you to search articles with django and docker/docker-compose


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b36b744b-cfd0-4f24-9db4-243b963560e2n%40googlegroups.com.

DJANGO DEVELOPER

unread,
Mar 29, 2021, 2:43:14 AM3/29/21
to django...@googlegroups.com
well, I already know how to containerise a new Django project. but Idk how to run an already containerised Django project. that's what is my question for now.
and I am not allowed to share the code. so this was the only way to share my question.
so can you help me with this information only?

Kunal Solanke

unread,
Mar 29, 2021, 2:46:38 AM3/29/21
to Django users
If you know how to containerize a project you should know how to run that containarized image, that's why I said to look for articles and anaylyse the codebase

docker run or docker-compose up 
These are most like going to be used

DJANGO DEVELOPER

unread,
Mar 29, 2021, 2:50:01 AM3/29/21
to django...@googlegroups.com
okay, thank you for the suggestion.

DJANGO DEVELOPER

unread,
Mar 29, 2021, 2:51:20 AM3/29/21
to django...@googlegroups.com
I want to ask another question. please ignore my ignorance.
what if I don't use docker up or run, then will it be possible to run the django project?

Kunal Solanke

unread,
Mar 29, 2021, 3:04:03 AM3/29/21
to Django users
Yeah its possible to run the project just not inside a container then, you will have to run simply outside the container on main host. 
Simply with python manage.py runserver😂😂


DJANGO DEVELOPER

unread,
Mar 29, 2021, 3:08:02 AM3/29/21
to django...@googlegroups.com
oh great. so it will not affect the containerised project. right?

DJANGO DEVELOPER

unread,
Mar 29, 2021, 3:08:44 AM3/29/21
to django...@googlegroups.com
means deploying it on AWS still will not be affected?

Kunal Solanke

unread,
Mar 29, 2021, 6:45:54 AM3/29/21
to Django users
Again depends on deploy startegy and but the actual deploy won't be affected while you are working on your local machine with code cloned from some version control

DJANGO DEVELOPER

unread,
Mar 29, 2021, 2:01:19 PM3/29/21
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages