From ff31008e24e0b06dbdd2a83c51a0d1060751eab0 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Sun, 19 May 2024 14:51:51 +0200 Subject: [PATCH] wsgi? --- sampleplayer.py => app.py | 0 requirements.txt | 1 + wsgi.py | 9 +++++++++ 3 files changed, 10 insertions(+) rename sampleplayer.py => app.py (100%) create mode 100644 wsgi.py diff --git a/sampleplayer.py b/app.py similarity index 100% rename from sampleplayer.py rename to app.py diff --git a/requirements.txt b/requirements.txt index c89fb51..2969b1e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ Flask playsound +pygobject diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..dc985b6 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 +import sys +import logging +logging.basicConfig(stream=sys.stderr) +sys.path.insert(0,"/root/customer-account-automation/") + +from app import app as application +app = application +