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