From ac5451aefc924d069ce30f3d3553b6a6a02de9f2 Mon Sep 17 00:00:00 2001 From: Ray Lyon <36998292+skoobasteeve@users.noreply.github.com> Date: Sun, 24 Apr 2022 17:44:43 -0400 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0dab4f0..4a451f4 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Optional environment variables: ### Docker One-liner: -``` +``` sh docker run \ --env TMDB_API_TOKEN=$TMDB_API_TOKEN --env SA_API_TOKEN=$SA_API_TOKEN @@ -31,7 +31,7 @@ docker run \ skoobasteeve/telegram-moviebot:main ``` docker-compose: -``` +``` yaml --- version: 3 services: @@ -46,24 +46,24 @@ services: - TG_BOT_USER= # (optional) Limits access to the bot to a single Telegram user restart: always ``` -``` +``` sh docker-compose up -d ``` ### Run from source Clone the repo -``` +``` sh git clone https://github.com/skoobasteeve/telegram-moviebot.git ``` Install the dependencies -``` +``` sh cd telegram-moviebot ``` -``` +``` sh pip install -r requirements.txt ``` Run the bot -``` +```sh python /telegram-moviebot/telegram-moviebot.py 2022-04-23 16:08:37,698 - apscheduler.scheduler - INFO - Scheduler started 2022-04-23 20:20:15,858 - __main__ - INFO - Looking up movie: "Star Wars"