This project uses pipenv and requires Python 3.6. Karma Bot is installed in the following way:
pip install pipenv # if you don't have it already
pipenv install
pipenv run python -m karma.bot -t <discord-bot-token>
pipenv run pytest
- You can build the docker container and push to a registry if you'd like
- Run the following:
docker build -t <registry>/discord-karma:1.0.0
docker push <registry>/discord-karma:1.0.0
- Open the deployment.yaml and add your TOKEN at the specific line and
change the location of the
image:
to a publicly accessable version built. - Run the following to run it on Kubernetes
kubectl apply -f deployment.yaml