ATLAS Offline Software
Functions | Variables
index Namespace Reference

Functions

def setup_server ()
 

Variables

string __author__ = 'Juerg Beringer'
 
string __version__ = 'index.py atlas/athena'
 
 currentDir = os.path.dirname(os.path.abspath(__file__))
 
dictionary beamSpotConfig
 
 root = BeamSpotWebPage()
 
 baseUrl
 
 query
 
 config
 

Function Documentation

◆ setup_server()

def index.setup_server ( )

Definition at line 85 of file index.py.

85 def setup_server():
86  cherrypy.config.update({'environment': 'production',
87  'log.screen': False,
88  'server.socket_host': '127.0.0.1',
89  'log.error_file': '/tmp/site.log',
90  'show_tracebacks': False})
91  cherrypy.tree.mount(root, root.globalConfig.baseUrl, config=beamSpotConfig)
92 
93 
94 # Code to test or run locally

Variable Documentation

◆ __author__

string index.__author__ = 'Juerg Beringer'
private

Definition at line 19 of file index.py.

◆ __version__

string index.__version__ = 'index.py atlas/athena'
private

Definition at line 20 of file index.py.

◆ baseUrl

index.baseUrl

Definition at line 53 of file index.py.

◆ beamSpotConfig

dictionary index.beamSpotConfig
Initial value:
1 = {
2  '/': { 'tools.staticdir.root': currentDir},
3  '/css': { 'tools.staticdir.on': True,
4  'tools.staticdir.dir': 'css'},
5  '/js': { 'tools.staticdir.on': True,
6  'tools.staticdir.dir': 'js'},
7  '/images': { 'tools.staticdir.on': True,
8  'tools.staticdir.dir': 'images'},
9  '/tmp': { 'tools.staticdir.on': True,
10  'tools.staticdir.dir': 'tmp'}
11 }

Definition at line 38 of file index.py.

◆ config

index.config

Definition at line 107 of file index.py.

◆ currentDir

index.currentDir = os.path.dirname(os.path.abspath(__file__))

Definition at line 37 of file index.py.

◆ query

index.query

Definition at line 72 of file index.py.

◆ root

index.root = BeamSpotWebPage()

Definition at line 52 of file index.py.

index.setup_server
def setup_server()
Definition: index.py:85