Commit 58cf63c4 authored by Emanuele Santoro's avatar Emanuele Santoro

Implememented CHECKS for speeding up deployment.

parent 39aa5c7f
/CHECKS CHECKS_OK
\ No newline at end of file
......@@ -17,7 +17,7 @@ print("DEBUG:\t\t\t%s" % debug)
musho = Flask(__name__)
musho.config['SQLALCHEMY_DATABASE_URI'] = database_url
# musho.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
musho.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
# musho.config['SQLALCHEMY_ECHO'] = True
# musho.config['SQLALCHEMY_POOL_SIZE'] = int(os.getenv("POOL_SIZE", "16"))
......@@ -79,6 +79,10 @@ def static_proxy(path):
println("Got request for path: " + path)
return musho.send_static_file(path)
@musho.route('/CHECKS')
def checks():
return "CHECKS_OK"
if __name__ == "__main__" :
if debug :
......
Markdown is supported
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