Update 'README.md'
This commit is contained in:
parent
b6377d3e2a
commit
d9ce6d1ee0
11
README.md
11
README.md
|
@ -1,3 +1,4 @@
|
||||||
|
# Set Up Guide
|
||||||
1. Create a working dir
|
1. Create a working dir
|
||||||
|
|
||||||
`mkdir /absolute/path/to/`
|
`mkdir /absolute/path/to/`
|
||||||
|
@ -9,14 +10,16 @@
|
||||||
5. Install depends in venv
|
5. Install depends in venv
|
||||||
|
|
||||||
`/absolute/path/to/venv/bin/pip install spotdl`
|
`/absolute/path/to/venv/bin/pip install spotdl`
|
||||||
|
|
||||||
`/absolute/path/to/venv/bin/pip install python-telegram-bot`
|
`/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`
|
`/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`
|
`/absolute/path/to/venv/bin/python start.py`
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +42,7 @@ WantedBy=multi-user.target
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## start script
|
## Start Script
|
||||||
```
|
```
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/absolute/path/to/venv/bin/python /absolute/path/to/start.py
|
/absolute/path/to/venv/bin/python /absolute/path/to/start.py
|
||||||
|
|
Loading…
Reference in New Issue