forked from sch/Rivista
15 lines
285 B
Python
15 lines
285 B
Python
|
#!/usr/bin/python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
#import importlib.resources
|
||
|
|
||
|
from rivista.http.instance import HttpInstance
|
||
|
import uvicorn
|
||
|
|
||
|
def main():
|
||
|
http_instance = HttpInstance()
|
||
|
return http_instance.app
|
||
|
|
||
|
app = main()
|
||
|
uvicorn.run(app, host='localhost', port=8000, reload=False)
|