musicube/README.md

58 lines
565 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
```
### Deployment
Requirements:
```
$ docker --version
Docker version 20.10.8, build 3967b7d28e
```
Build image:
```
$ make build
```
Run image:
```
$ docker run --rm --detach --name musicube musicube:latest
```