commit 88b2bb891696738fad31361b6b59b6b896c77d52
parent eea9a2e06d3032210de676e41b832ad16a451f19
Author: Florian Dold <florian@dold.me>
Date: Wed, 16 Oct 2024 15:12:38 +0200
fix debian dep, entry point
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
@@ -19,6 +19,7 @@ Depends: ${misc:Depends},
python3-flask,
python3-flask-babel,
python3-requests,
- python3-bs4
+ python3-bs4,
+ python3-gunicorn
Recommends: apache2 | nginx | httpd
Description: Demo storefronts for the Taler merchant.
diff --git a/talermerchantdemos/cli.py b/talermerchantdemos/cli.py
@@ -115,5 +115,8 @@ def demos(config, http_port, which_shop):
StandaloneApplication(app, options).run()
-if __name__ == "__main__":
+def run():
demos()
+
+if __name__ == "__main__":
+ run()