Update README.md

added the need to have cups installed
This commit is contained in:
Clarth 2023-11-14 17:39:16 -05:00
parent b62d5736be
commit 4ca6b82761
1 changed files with 8 additions and 4 deletions

View File

@ -2,17 +2,21 @@
# Set Up Guide # Set Up Guide
1. Create a python virtual environment 1. Install cups
`sudo apt install cups`
2. Create a python virtual environment
`python3 -m venv /absolute/path/to/venv` `python3 -m venv /absolute/path/to/venv`
2. Install depends in venv 3. Install depends in venv
`/absolute/path/to/venv/bin/pip3 install pyTelegramBotAPI` or `/absolute/path/to/venv/bin/pip install pyTelegramBotAPI==4.14.0` `/absolute/path/to/venv/bin/pip3 install pyTelegramBotAPI` or `/absolute/path/to/venv/bin/pip install pyTelegramBotAPI==4.14.0`
3. Edit tg_print.py with correct telegram API token and change directories variables. 4. Edit tg_print.py with correct telegram API token and change directories variables.
4. Start the script 5. Start the script
`/absolute/path/to/venv/bin/python tg_print.py` `/absolute/path/to/venv/bin/python tg_print.py`