Update 'README.md'

This commit is contained in:
Clarth 2023-11-13 22:53:03 -05:00
parent b6377d3e2a
commit d9ce6d1ee0
1 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,4 @@
# Set Up Guide
1. Create a working dir
`mkdir /absolute/path/to/`
@ -9,14 +10,16 @@
5. Install depends in venv
`/absolute/path/to/venv/bin/pip install spotdl`
`/absolute/path/to/venv/bin/pip install python-telegram-bot`
script was written with version 4.14.0
5b. This script was written with version 4.14.0 of the python-telegram-bot. If something goes wrong you can install that spcific version using this command.
`/absolute/path/to/venv/bin/pip install python-telegram-bot==4.14.0`
6. Edit start.py with correct telegram API token and change directories
6. Edit start.py with correct telegram API token and change directories variables.
start the script
7. Start the script
`/absolute/path/to/venv/bin/python start.py`
@ -39,7 +42,7 @@ WantedBy=multi-user.target
```
## start script
## Start Script
```
#!/bin/bash
/absolute/path/to/venv/bin/python /absolute/path/to/start.py