mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	what is started?????????
This commit is contained in:
		
							
								
								
									
										13
									
								
								Flask/app.py
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								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)
 | 
			
		||||
#if __name__ == '__main__':
 | 
			
		||||
#    print("this is launched")
 | 
			
		||||
#    setup_grafana()
 | 
			
		||||
#    update_jobs()
 | 
			
		||||
#    edit_version()
 | 
			
		||||
#    app.run(host='0.0.0.0', port=1234, debug=True)
 | 
			
		||||
#
 | 
			
		||||
		Reference in New Issue
	
	Block a user