diff --git a/README.md b/README.md index af2842d..1919e5a 100644 --- a/README.md +++ b/README.md @@ -18,24 +18,17 @@ A versatile Telegram bot for managing and organizing sticker packs. ## Installation -1. Clone the repository: +Clone the repository: ```sh git clone https://github.com/yourusername/telegram-stickers-organizer.git cd telegram-stickers-organizer ``` -2. Install dependencies: +Install dependencies and copy `.env` config: ```sh -uv venv -uv pip install -r requirements.txt -``` - -3. Set up environment variables: - -```sh -cp .env.example .env +make provision ``` Edit the `.env` file and add your Telegram Bot Token and other required diff --git a/makefiles/uv.mk b/makefiles/uv.mk index 796c11d..bfd7b26 100644 --- a/makefiles/uv.mk +++ b/makefiles/uv.mk @@ -13,6 +13,11 @@ add: install remove: uv remove $(ARGS) +.PHONY: provision +provision: + uv sync + cp .env.example .env + .PHONY: start start: start-ngrok @if [ ! -f .env ]; then cp .env.example .env; echo "Created .env file, edit it and run "make start" again"; exit 1; fi