Update 'README.md'
This commit is contained in:
parent
d9ce6d1ee0
commit
9069382300
14
README.md
14
README.md
|
@ -1,25 +1,21 @@
|
||||||
# Set Up Guide
|
# Set Up Guide
|
||||||
1. Create a working dir
|
1. Create a python virtual environment
|
||||||
|
|
||||||
`mkdir /absolute/path/to/`
|
|
||||||
|
|
||||||
3. Create a python virtual environment
|
|
||||||
|
|
||||||
`python3 -m venv /absolute/path/to/venv`
|
`python3 -m venv /absolute/path/to/venv`
|
||||||
|
|
||||||
5. Install depends in venv
|
2. 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`
|
||||||
|
|
||||||
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.
|
2b. 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 variables.
|
3. Edit start.py with correct telegram API token and change directories variables.
|
||||||
|
|
||||||
7. Start the script
|
4. Start the script
|
||||||
`/absolute/path/to/venv/bin/python start.py`
|
`/absolute/path/to/venv/bin/python start.py`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue