Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 798 Bytes

README.md

File metadata and controls

55 lines (44 loc) · 798 Bytes

Speech-Recognition-Bot


Templates

pip install -r requirements.txt
export TOKEN=TOKEN
export SERVER_HOST=SERVER-HOST
export SERVER_PORT=SERVER-PORT
python src/bot.py

Docker

sudo docker build -f Dockerfile -t bot_speech_to_text_image . # => Docker Build
sudo docker run -it -d --env-file .env --restart unless-stopped  -v /{full path to project}/logs/:/app/logs/ --name bot_speech_to_text bot_speech_to_text_image # => Docker Run

Docker-Compose

docker-compose up

Bash

sh run-bot-recogniton-docker-procss.sh

Pre-commit hooks

pre-commit run --all-files

Alternative way:

bash pre-commit.sh

Makefile:

make check-types
make check-format