#!/usr/bin/python
#-*- coding=utf-8 -*-

"""
Usage:
start_api_server.py [--p=<argument>]

--p=PORT   web server port [default: 1235]
"""

__author__ = ['"wuyadong" <wuyadong@tigerknows.com>']

import logging.config
import sys
import docopt
from server.service import WebService

logging.config.fileConfig(sys.path[0] + "/logging.conf")

if __name__ == "__main__":
    arguments = docopt.docopt(__doc__, version="api server 1.0")
    port = int(arguments['--p'])

    web_service = WebService()
    web_service.start(port)
336d069cf2d2bc05f0e50805caf5ddb1b5087f33
<mask token>

<mask token>
logging.config.fileConfig(sys.path[0] + '/logging.conf')
if __name__ == '__main__':
    arguments = docopt.docopt(__doc__, version='api server 1.0')
    port = int(arguments['--p'])
    web_service = WebService()
    web_service.start(port)

<mask token>
__author__ = ['"wuyadong" <wuyadong@tigerknows.com>']
<mask token>
logging.config.fileConfig(sys.path[0] + '/logging.conf')
if __name__ == '__main__':
    arguments = docopt.docopt(__doc__, version='api server 1.0')
    port = int(arguments['--p'])
    web_service = WebService()
    web_service.start(port)

<mask token>
__author__ = ['"wuyadong" <wuyadong@tigerknows.com>']
import logging.config
import sys
import docopt
from server.service import WebService
logging.config.fileConfig(sys.path[0] + '/logging.conf')
if __name__ == '__main__':
    arguments = docopt.docopt(__doc__, version='api server 1.0')
    port = int(arguments['--p'])
    web_service = WebService()
    web_service.start(port)

#!/usr/bin/python
#-*- coding=utf-8 -*-

"""
Usage:
start_api_server.py [--p=<argument>]

--p=PORT   web server port [default: 1235]
"""

__author__ = ['"wuyadong" <wuyadong@tigerknows.com>']

import logging.config
import sys
import docopt
from server.service import WebService

logging.config.fileConfig(sys.path[0] + "/logging.conf")

if __name__ == "__main__":
    arguments = docopt.docopt(__doc__, version="api server 1.0")
    port = int(arguments['--p'])

    web_service = WebService()
    web_service.start(port)