discord music bot
Go to file
Ramdip Gill e8f481a493 Merge branch '7-docker' into 'develop'
Additional changes regarding docker

See merge request ekzyis/musicube!11
2021-09-25 21:03:46 +00:00
.vscode Add debug configuration 2021-09-25 20:30:44 +02:00
src Improve error messages 2021-09-25 21:34:46 +02:00
test Use embeds 2021-09-25 21:30:52 +02:00
.dockerignore Create Dockerfile 2021-09-25 22:11:37 +02:00
.env.template Create Dockerfile 2021-09-25 22:11:37 +02:00
.gitignore Add Makefile 2021-09-25 22:46:45 +02:00
.gitlab-ci.yml Add .gitlab-ci.yml 2021-09-24 22:02:13 +02:00
.pylintrc Fix pylint issues 2021-09-24 22:02:13 +02:00
Dockerfile Don't handle YOUTUBE_COOKIES different in Dockerfile 2021-09-25 22:48:16 +02:00
Makefile Add Makefile 2021-09-25 22:46:45 +02:00
README.md Add 'Run image' instructions 2021-09-25 23:01:16 +02:00
pyproject.toml Copy code from basic_voice example as skeleton 2021-09-24 20:58:42 +02:00
requirements.txt Add test for ensure_voice 2021-09-24 23:07:32 +02:00

README.md

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