F
F
Friend2016-08-07 21:03:36
Django
Friend, 2016-08-07 21:03:36

Django Combat Server, how to set up django 1.9 python 3?

how to set up a combat server for django 1.9 python 3 ? There are a lot of tutorials, but a lot of errors fly out while doing tutorials. One turned out on a virtual machine, but errors flew on a real machine, both systems were from 0 and did everything the same way. Another question is how to set an external ip? I got a local current, but on the external cursing.
I hope you give sensible answers, not crap)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2016-08-07
@sim3x

https://www.digitalocean.com/community/tutorials/h...

F
Friend, 2016-08-08
@Tiran_94

On the account of the ip address, how to use your ip instead of the domain? And how to attach a domain on your server? The server is my VM
server {
listen 80;
server_name 444.333.222.1111 www.444.333.222.1111;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/user/firstsite;
}
location / {
include uwsgi_params;
uwsgi_pass unix:/home/user/firstsite/firstsite.sock;
}
}
Thanks in advance

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question