table_check()# This code checks whether database table is created or not
ifproduction:#Check if production variable is set to true use the waitress webserver, else use the buildin flask webserver, with more debug output
serve(app,host='0.0.0.0',port=5000)#Start the Webserver for all users on port 5000
serve(app,host='0.0.0.0',port=5000,url_scheme=url_scheme)#Start the Webserver for all users on port 5000
else:
app.run(host='0.0.0.0',port=5000,debug=True)#Start the Webserver in Debug mode. This means, if the script runs in an error, it will show the error message in Browser.