开发者

Django & Apache: How to debug on Testing server

开发者 https://www.devze.com 2023-01-11 03:04 出处:网络
I am trying to debug an issue that happens on our testing server. So how do I make it so that I can access our testing server when I start Django by typing:

I am trying to debug an issue that happens on our testing server. So how do I make it so that I can access our testing server when I start Django by typing:

python manage.py runserver

?

Does it have to pass through Apache? If so, I need 开发者_StackOverflowto configure Apache somehow but I am not using mod_wsgi and so, don't know how to do this.

Thanks! :)


the test server runs its own web server. the defaul options starts a server on http://127.0.0.1:8000/, which you can then open in your browser

you can specify an optional ip address/server using

manage.py runserver ip:port

using ip 0.0.0.0 for all network interfaces

0

精彩评论

暂无评论...
验证码 换一张
取 消