B
B
bmber2021-02-13 18:48:35
Django
bmber, 2021-02-13 18:48:35

I don't understand how can I run a Django project on a server NOT in development mode?

Ubuntu server.
I dug up and smoked everything I found.
Yes, it starts in development mode, but of course you can’t log in via localhost, because. server is remote. Besides launches on the 8000th port.
settings.py set to the domain and server ip.
What else is needed?
I didn’t find anything in the manuals about this, Google gives out all sorts of garbage like how to run it on localhost.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-02-13
@bmber

You need an application server / application server, there are many of them, but usually the choice is between uWSGI and gunicorn. Explore the docks and features, and choose which one suits you best.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question