How to install django on the server ??? I have a ubuntu server
Closed due to the fact that the essence of the question is not clear to the participants 0xdb , Sergey Gornostaev , andreymal , nörbörnën , jfs 27 May '18 at 19:32 .
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
- Read this tutorial . It is all written in detail. I did it myself) - Pashok
- But in any case, write like this in cmd: python manage.py runserver - Pashok
- Just like on ubuntu desktop or even on Windows. What problems? - andreymal
1 answer
Here are some good manuals for setting up your server environment:
How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 16.04
How To Serve Django Applications with uWSGI and Nginx on Ubuntu 16.04
Gunicorn or uwsgi is difficult to say which is better, but in my opinion it is easier to set up gunicorn, I advise you to use it.
P.S. if necessary, you can always go to uwsgi, if it shows the best results when testing.