# Path: init_db.py



import sys
import os.path
import tornado.web
import tornado.ioloop
import tornado.httpserver
import urls
        import qiniu.conf
from init_db import db, async_db
from settings import *
from tornado.options import define, options
#!/usr/bin/env python
# -*- coding: utf-8 -*-




major = sys.version_info[0]
if major < 3:
    reload(sys)
    sys.setdefaultencoding('utf-8')

define('port', default=8888, help='run on the given port', type=int)

class Application(tornado.web.Application):
    def __init__(self):


        #Use Qiniu to store avatars

# Path: init_db.py



# Path: main.py
import sys
import os.path
import tornado.web
import tornado.ioloop
import tornado.httpserver
import urls
        import qiniu.conf
from init_db import db, async_db
from settings import *
from tornado.options import define, options

#!/usr/bin/env python
# -*- coding: utf-8 -*-




major = sys.version_info[0]
if major < 3:
    reload(sys)
    sys.setdefaultencoding('utf-8')

define('port', default=8888, help='run on the given port', type=int)

class Application(tornado.web.Application):
    def __init__(self):


        #Use Qiniu to store avatars

        qiniu.conf.ACCESS_KEY = qiniu_access_key