what is started?????????
This commit is contained in:
parent
0fa8149953
commit
2f2b4f9905
13
Flask/app.py
13
Flask/app.py
|
@ -455,10 +455,11 @@ def maxi(dict):
|
||||||
def setup_grafana():
|
def setup_grafana():
|
||||||
if get("http://localhost:3000/api/datasources").text == "[]" :
|
if get("http://localhost:3000/api/datasources").text == "[]" :
|
||||||
subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh'])
|
subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh'])
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
print("this is launched")
|
|
||||||
setup_grafana()
|
setup_grafana()
|
||||||
update_jobs()
|
#if __name__ == '__main__':
|
||||||
edit_version()
|
# print("this is launched")
|
||||||
app.run(host='0.0.0.0', port=1234, debug=True)
|
# setup_grafana()
|
||||||
|
# update_jobs()
|
||||||
|
# edit_version()
|
||||||
|
# app.run(host='0.0.0.0', port=1234, debug=True)
|
||||||
|
#
|
Loading…
Reference in New Issue