This is demo project that uses: lithium. It creates a Bot that will echo everything you send it.
Run:
mvn -Plinux package
linux, windows and darwin are supported.
Run:
java -jar /path/to/echo.jar server /path/to/echo.yaml
docker build --tag wire/bots.runtime -f Dockerfile.runtime .
docker build --tag wire/echo -f Dockerfile .
docker tag wire/bots.runtime:latest eu.gcr.io/wire-bot/bots.runtime
docker tag wire/echo:latest eu.gcr.io/wire-bot/echo
gcloud docker -- push eu.gcr.io/wire-bot/bots.runtime
gcloud docker -- push eu.gcr.io/wire-bot/echo
$ kubectl create configmap echo-config --from-file=conf
$ kubectl create secret generic echo-knows --from-literal=token=$AUTH_TOKEN
$ gcloud compute disks create echo-disk \
> --zone europe-west1-c \
> --size 1GB \
> --type pd-ssd
$ kubectl create -f kubernetes/deployment.yaml