开发者

Where is the Cherrypy config file located on Ubuntu?

开发者 https://www.devze.com 2023-04-12 21:41 出处:网络
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 configurati

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

精彩评论

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