Files
api_utils_converse_v2/run.sh
T
2024-12-25 20:14:09 +05:30

12 lines
350 B
Bash

#!/bin/bash
# Use this to run the microservice without any docker setup.
source .venv/bin/activate
python3 "$(pwd)/api/main.py" --host "0.0.0.0" --port 5106 --workers 4 --script-id "kps_cnv_KBC3MoaU" &
python3 "$(pwd)/playground/socketio/to_kafka.py" &
python3 "$(pwd)/playground/socketio/from_kafka.py" &
deactivate
# All done:
echo "Done!"
exit 0