From a1ff0c57c8d050057deecdcbda978f7caa58a572 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Feb 17 2021 17:05:11 +0000 Subject: Add command line launcher This change enables launching the gateway from the command line. --- diff --git a/gateway.py b/gateway.py index 3ee88f4..a81d5a4 100755 --- a/gateway.py +++ b/gateway.py @@ -174,4 +174,8 @@ class Service: def main(): - ... + app.run(host="0.0.0.0") + + +if __name__ == "__main__": + main()