diff --git a/README.md b/README.md index 05335c0..5f1bc7c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,18 @@ sudo systemctl start gptchatbot.service sudo ``` +### Update + +```bash +git pull balshgit main +sudo rsync -a --delete --progress /home/balsh/Pycharmprojects/gpt_chat_bot/* /opt/gpt_chat_bot/ --exclude .git +cd /opt/gpt_chat_bot/ +docker pull balshdocker/freegpt +STAGE=production docker compose build +sudo systemctl stop gptchatbot.service +sudo systemctl start gptchatbot.service +``` + ```bash diff --git a/bot_microservice/core/commands.py b/bot_microservice/core/commands.py index 3305797..887cf62 100644 --- a/bot_microservice/core/commands.py +++ b/bot_microservice/core/commands.py @@ -47,7 +47,7 @@ async def about_bot(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: async def website(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: if not update.effective_message: return None - website = urljoin(settings.DOMAIN, f"{settings.URL_PREFIX}/chat") + website = urljoin(settings.DOMAIN, f"{settings.URL_PREFIX}/chat/") await update.effective_message.reply_text(f"Веб версия: {website}")