37 lines
349 B
Markdown
37 lines
349 B
Markdown
|
# musicube
|
||
|
|
||
|
### Development
|
||
|
|
||
|
Requirements:
|
||
|
|
||
|
```
|
||
|
$ python --version
|
||
|
3.9.7
|
||
|
```
|
||
|
|
||
|
Configure virtual environment:
|
||
|
|
||
|
```
|
||
|
$ python -m venv venv
|
||
|
$ source venv/bin/activate
|
||
|
```
|
||
|
|
||
|
Install requirements:
|
||
|
|
||
|
```
|
||
|
$ pip install -r requirements.txt
|
||
|
```
|
||
|
|
||
|
Configure ENV:
|
||
|
|
||
|
```
|
||
|
$ cp .env.template .env
|
||
|
# Write BOT_TOKEN into .env
|
||
|
```
|
||
|
|
||
|
Run bot:
|
||
|
|
||
|
```
|
||
|
$ python src/bot.py
|
||
|
```
|