Rivista/__main__.py
Schimon Jehudah, Adv. 766e51af4c Modularize code;
Add packaging instructions;
Add modules to handle Gemini file type (no Gemini server yet);
Improve handling of configuration.
2024-11-12 15:25:05 +02:00

14 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)