etwist/service.py
branchstable
changeset 6268 05a855ffb65d
parent 6267 c50c397173db
child 6269 2220fa621455
equal deleted inserted replaced
6267:c50c397173db 6268:05a855ffb65d
    70         try:
    70         try:
    71             _check_env(os.environ)
    71             _check_env(os.environ)
    72             # create the site
    72             # create the site
    73             config = cwcfg.config_for(self.instance)
    73             config = cwcfg.config_for(self.instance)
    74             config.init_log(force=True)
    74             config.init_log(force=True)
       
    75             config.debug = False
    75             logger.info('starting cubicweb instance %s ', self.instance)
    76             logger.info('starting cubicweb instance %s ', self.instance)
    76             root_resource = CubicWebRootResource(config)
    77             root_resource = CubicWebRootResource(config)
    77             website = server.Site(root_resource)
    78             website = server.Site(root_resource)
    78             # serve it via standard HTTP on port set in the configuration
    79             # serve it via standard HTTP on port set in the configuration
    79             port = config['port'] or 8080
    80             port = config['port'] or 8080