15 lines
207 B
Python
15 lines
207 B
Python
import logging
|
|
|
|
from aiohttp import web
|
|
|
|
from config import config
|
|
import db
|
|
from web import app
|
|
|
|
|
|
logging.basicConfig(level=logging.INFO)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
web.run_app(app, port=config.port)
|