E
E
Egor L2022-02-04 23:59:50
Django
Egor L, 2022-02-04 23:59:50

What is the best way to package python django for server deployment?

I am creating crm on django. How can I best make an installer so that the user can
install django on the server, deploy all dependencies without hemorrhoids, etc.? I heard about docker and pyinstaller/py2exe. What is the best solution now compatible with windows and lunix?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dr. Bacon, 2022-02-05
@bacon

1. docker
2. why is windows here?
3. "create crm on django", after all these questions, and tags to the question, I have doubts that you will create something sane. Just in case, "pyinstaller" is windows-level thinking, you have no idea how and what is not in its framework.

S
Sergey Gornostaev, 2022-02-05
@sergey-gornostaev

Just an archive with the source code of the project or a repository on GitHub. Put requirements.txt inside to install dependencies. And make fixtures for the initial initialization. Everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question