Bot provides interactive voting procedure for TigersTeam
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Telegeram Bot should be configured and BOT_TOKEN obtained
GCloud + K8S
Local environment:
- node, typescript
- docker, docker-compose
- gcloud + kubectl
To run local instance of bot:
node run-script run-local
node run-script test
Package artifact, Build Docker image, Publish Docker image, Deploy Docker image to AWS instance
./build-and-deploy.sh
docker login could be required to do before operation.
curl -X POST \
https://api.telegram.org/bot{BOT_TOKEN}/setWebhook \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F url={BOT_ENDPOINT} \
-F certificate=@path/to/certificate.pem
This project is licensed under the MIT License - see the LICENSE.md file for details