diff --git a/config-example.json b/config-example.json new file mode 100644 index 0000000000000000000000000000000000000000..a3181baefdae7eafdab12a4fb0898b144c8db443 --- /dev/null +++ b/config-example.json @@ -0,0 +1,7 @@ +{ + "db": "sqlite:////tmp/test.db", + "ssh": { + "username": "ro-username", + "private-key": "/absolute/path/to/private/key" + } +} \ No newline at end of file diff --git a/resource_management/app.py b/resource_management/app.py new file mode 100644 index 0000000000000000000000000000000000000000..47da1ce6f81f0a107ba43a3b7c2e91407b2034a5 --- /dev/null +++ b/resource_management/app.py @@ -0,0 +1,14 @@ +""" +default app creation +""" +import resource_management + +app = resource_management.create_app() + +if __name__ == "__main__": + import uvicorn + uvicorn.run( + 'resource_management.app:app', + host='0.0.0.0', + port=44444, + log_level='debug')