#NEWLINE# def main( ) : #NEWLINE# #INDENT# app = Application ( [ ( '/' , home_handler , render_basic ) ] ) #NEWLINE# meta_app = meta_service . create_meta_app ( ) #NEWLINE# wsgi_apps = [ ( app , ( '0.0.0.0' , PORT ) , False ) , ( meta_app , ( '0.0.0.0' , META_PORT ) , False ) ] #NEWLINE# if ( platform . system ( ) == 'Windows' ) : #NEWLINE# #INDENT# group = Group ( wsgi_apps = wsgi_apps ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# group = Group ( wsgi_apps = wsgi_apps , prefork = True , num_workers = 2 , daemonize = True ) #NEWLINE# #UNINDENT# group . serve_forever ( )