A docker
container that runs the Kitt
Announcer Bot.
- Copy the
.env.example
to.env
cp .env.example .env
- Configure your
DISCORD_TOKEN
(obtained via discord)
Run via Docker, or locally via npm
Uses local bot/src
so any changes made will cause the process to restart via nodemon.
docker-compose up
chmox +x bin/deploy.sh
./bin/deploy.sh
note: Remember to remove containers if switching NODE_ENV
from production to development and vice-versa, as the image needs to be rebuilt and avoid pruning devDependencies.
npm install
docker-compose up
if you add a new npm package, run docker-compose up --build
to rebuild the container while testing
Lexicons are XML/PLS files that describe pronunciation of specific words and phrases. Custom lexicons can be uploaded here: https://console.aws.amazon.com/polly/home/Lexicons
and are references in ./bot/src/lib/constants.ts
under LEXICONS