I
I
immeo2021-02-04 05:09:16
Software Deployment
immeo, 2021-02-04 05:09:16

How to deploy DjangoCms to a domain with ubuntu server 20.04?

There was a need to put DjangoCms on the domain. how best to do it? Is a virtual environment required, or is it possible without it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-02-05
@immeo

Use pyenv to set up a virtual environment with the correct version of Python.
With the help of gunicorn (for example) and supervisor (well, or systemd), organize the launch of the application.
Using Nginx, organize the distribution of statics and proxy requests to Django.
You can still wrap all this in Docker ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question