I have a django project, that works similar to Jupyter Notebook, in terms of Being a program launched offline in localhost on a web browser, moreover my webapp has an opencv webcam pop-up, that will be launched when you press a button.
I want to deploy my django project, so it can be launched by just clicking a file in Windows.
According to what I read, There are two possible solutions:
Which solution is better? I would prefer the second one personally, but I’m confused how to do so.
Can it be done as simple as using pyinstaller or not?
Here are my dependencies for reference:
Django pillow django-object-actions django_user_agents django-cleanup opencv-python imutils cmake dlib face-recognition
I think that the best practise would be to use containers like e.g. docker. After that you have the following benefits:
fyi: There a lots of tutorials on how to deploy django in docker containers :)