766e51af4c
Add packaging instructions; Add modules to handle Gemini file type (no Gemini server yet); Improve handling of configuration.
14 lines
285 B
Python
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)
|