musicube/README.md

58 lines
565 B
Markdown
Raw Normal View History

2021-09-24 19:13:12 +00:00
# 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
```
2021-09-25 20:46:45 +00:00
### Deployment
Requirements:
```
$ docker --version
Docker version 20.10.8, build 3967b7d28e
```
Build image:
```
$ make build
```
2021-09-25 21:01:16 +00:00
Run image:
```
$ docker run --rm --detach --name musicube musicube:latest
```