开发者

Where is the Cherrypy config file located on Ubuntu?

I have a tool written to be added to the configuration file but I cannot find the file anywher开发者_如何学Goe. Where is the configuration file?


There is no configuration file. All forms of configuration is done through code.

A simple site-config example using cheerypy.config:

#cheerypy.config is flat dictionary that you can modify using
cherrypy.config.update({'server.socket_host': '10.10.10.10',
                        'server.socket_port': 80,
                       })

You can get more information here

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜