follow these instructions to deploy rexmit
-
git
-
docker
-
discord bot token
-
cmake (only if you require rust-analyzer for dev)
-
clone this repository
-
change directory to this repository
-
create an .env file from .env.example
DEBUG can be 1 for debug or 0 for release DISCORD_TOKEN sourced from discord developer portal DATABASE_URL can be a mongodb connection string or blank the idea is to feature support for mongodb but also to feature support for no database by leaving DATABASE_URL blank
-
build the image
docker build -t rexmit .
-
run the container
docker run --env-file .env -d rexmit
-
rexmit will connect to discord and be ready for guild invitations
-
some commands while in a voice channel to get started
~join ~leave ~mute ~q https://www.youtube.com/watch?v=jfKfPfyJRdk ~queue https://www.youtube.com/watch?v=jfKfPfyJRdk ~s ~skip ~stop ~c ~clear
here is an example of running a document db
sudo docker run --name mongo -v ./data/db:/data/db \
-p 27017:27017 --restart always \
-e MONGO_INITDB_ROOT_USERNAME= \
-e MONGO_INITDB_ROOT_PASSWORD= \
-d mongo