Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

cherrypy_file.conf

By: mrk1989 on Oct 22nd, 2013  |  syntax: None  |  size: 1.31 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [global]
  2. server.environment = 'development' # use 'production' when deploying
  3. server.socket_host = "127.0.0.1"
  4. server.socket_port = 8100
  5.  
  6. ### Options for VAIO
  7. log.screen = True
  8. server.thread_pool = 10
  9. engine.autoreload_on = True
  10. # tools.cgitb.on = True
  11. ##############
  12.  
  13. ### Options for dev.ipol.im
  14. #server.thread_pool = 1
  15. #engine.autoreload_on = False
  16. #tools.cgitb.on = False
  17. #tools.proxy.on = True
  18. #tools.proxy.base = "http://dev.ipol.im/~asalgado/ipol/demo_generator"
  19. ##############
  20.  
  21.  
  22. [/]
  23. ##tools.staticdir.root = "/home/asalgado/ipol/demo_generator"
  24. tools.staticdir.root = "/media/DATA/prototi/prototypefin4"
  25.  
  26. [/demo_files]
  27. tools.staticdir.on: True
  28. ##tools.staticdir.dir = "/home/asalgado/ipol/demo_generator"
  29. tools.staticdir.dir = ""
  30. #tools.staticdir.dir = ""
  31.  
  32. [/template]
  33. tools.staticdir.on: True
  34. tools.staticdir.dir = "template"
  35.  
  36.  
  37. [/image]
  38. tools.staticdir.on: True
  39. tools.staticdir.dir = "image"
  40.  
  41. [/cfgfiles]
  42. tools.staticdir.on: True
  43. tools.staticdir.dir = "cfgfiles"
  44.  
  45. [/jscripts]
  46. tools.staticdir.on: True
  47. tools.staticdir.dir = "jscripts"
  48.  
  49. [/js]
  50. tools.staticdir.on: True
  51. tools.staticdir.dir = "template/js"
  52.  
  53. [/IPOL_demo_files]
  54. tools.staticdir.on: True
  55. tools.staticdir.dir = "template/IPOL_demo_files"
  56.  
  57. [/samples]
  58. tools.staticdir.on: True
  59. tools.staticdir.dir = "template/samples"