Commit 581f9e7c authored by wolfsack's avatar wolfsack
Browse files

...

parent 595c1f19
from flask import Flask, make_response
from metrics import generate_metrics
from app.metrics import generate_metrics
app = Flask(__name__)
......
......@@ -2,7 +2,7 @@ import platform
import psutil
from metric import Metric
from app.metric import Metric
def metrics(node: int):
......
......@@ -6,4 +6,5 @@ Jinja2==3.0.3
MarkupSafe==2.0.1
psutil==5.8.0
Werkzeug==2.0.2
vcgencmd~=0.1.1
\ No newline at end of file
vcgencmd==0.1.1
gunicorn==20.1.0
\ No newline at end of file
#!/bin/bash
pip3 install -r requirements.txt
waitress-serve --listen=*:5000 wsgi:app
from app.app import app
if __name__ == "__main__":
app.run()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment