* WIP: golden kitty * added web server * added health check * added flask to module build * trying requirements.txt * added dotenv * flask_cors * gunicorn * requirements cleanup * Dockerfile * WOOF * basic wake word * removed otel * basic animation kind of works * i think animation defeated me * added santa cat assets * cleanup * cleanup * server example and cleanup * more cleanup * fix up some class variable names * minor cleanup, remove mistakenly-added print and logger stuff * cleanup * cleanup --------- Co-authored-by: Moishe Lettvin <moishel@gmail.com>
520 B
520 B
Server Example
This is an example server based on Santa Cat. You can run the server with this command:
flask --app daily-bot-manager.py --debug run
Once the server is started, you can load http://127.0.0.1:5000/spin-up-kitty in a browser, and the server will do the following:
- Create a new, randomly-named Daily room with
DAILY_API_KEYfrom your .env file or environment - Start the
10-wake-word.pyexample and connect it to that room - 301 redirect your browser to the room