STEPS FOR RUN LOCAL ENVIRONMENT
- Set environment variable TOKEN_TELEGRAM. Value get from Telegram bot documentation
- Windows Powershell
env:TOKEN_TELEGRAM = "sometoken";
- Windows cmd
TOKEN_TELEGRAM=sometoken
- Linux bash
export TOKEN_TELEGRAM=sometoke
- Windows Powershell
- Build bot.go and run resulting binary file (bot/bot.exe)
STEPS FOR RUN DOCKER ENVIRONMENT
- Make .env, write TOKEN_TELEGRAM=sometoken
- docker-compose up