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
精彩评论