#!/usr/bin/env python

import os.path,sys
sys.path.insert(0,os.path.join(os.path.dirname(__file__),'lib'))

from model.user import User
from lib import db_engine
from controller import main,factory,resource,log,configuration
import cherrypy

#initial Configuration for Vserver-GUI
config = os.path.join(os.path.dirname(__file__),'vserver-gui.conf')
cherrypy.config.update({
            'global' :  {
                    'tools.staticdir.root' : os.path.realpath(os.path.dirname(__file__)),
                    }
        })                       

root = main.Controller()
root.setting = main.Controller()
root.factory = factory.Controller()
root.resource = resource.Controller()
root.configuration = configuration.Controller()
root.log = log.Controller()


cherrypy.quickstart(root, config=config)


109c3a002c54666904ff132ea5725ca7800afe79
<mask token>

<mask token>
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib'))
<mask token>
cherrypy.config.update({'global': {'tools.staticdir.root': os.path.realpath
    (os.path.dirname(__file__))}})
<mask token>
cherrypy.quickstart(root, config=config)

<mask token>
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib'))
<mask token>
config = os.path.join(os.path.dirname(__file__), 'vserver-gui.conf')
cherrypy.config.update({'global': {'tools.staticdir.root': os.path.realpath
    (os.path.dirname(__file__))}})
root = main.Controller()
root.setting = main.Controller()
root.factory = factory.Controller()
root.resource = resource.Controller()
root.configuration = configuration.Controller()
root.log = log.Controller()
cherrypy.quickstart(root, config=config)

import os.path, sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib'))
from model.user import User
from lib import db_engine
from controller import main, factory, resource, log, configuration
import cherrypy
config = os.path.join(os.path.dirname(__file__), 'vserver-gui.conf')
cherrypy.config.update({'global': {'tools.staticdir.root': os.path.realpath
    (os.path.dirname(__file__))}})
root = main.Controller()
root.setting = main.Controller()
root.factory = factory.Controller()
root.resource = resource.Controller()
root.configuration = configuration.Controller()
root.log = log.Controller()
cherrypy.quickstart(root, config=config)

#!/usr/bin/env python

import os.path,sys
sys.path.insert(0,os.path.join(os.path.dirname(__file__),'lib'))

from model.user import User
from lib import db_engine
from controller import main,factory,resource,log,configuration
import cherrypy

#initial Configuration for Vserver-GUI
config = os.path.join(os.path.dirname(__file__),'vserver-gui.conf')
cherrypy.config.update({
            'global' :  {
                    'tools.staticdir.root' : os.path.realpath(os.path.dirname(__file__)),
                    }
        })                       

root = main.Controller()
root.setting = main.Controller()
root.factory = factory.Controller()
root.resource = resource.Controller()
root.configuration = configuration.Controller()
root.log = log.Controller()


cherrypy.quickstart(root, config=config)

