parent
b62d5736be
commit
4ca6b82761
12
README.md
12
README.md
|
@ -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`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue