Exemple #1
0
def main():
    ''' main entry '''
    parse_command_line()

    web = WebServer(port=options.port, address=options.bind)
    web.run()
Exemple #2
0
from handlers import Handlers
from server import WebServer

handler = Handlers()
server = WebServer(handler.routes)
server.run()
Exemple #3
0
#!/usr/bin/env python
import web 
import json 
from server import WebServer

if __name__ == "__main__":
    webServer = WebServer()    
    webServer.run()