AnnaKlueva / kbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kbot : devops practise with go

How to use:

Installation

To get started with KBot, clone the repository:

git clone https://github.com/AnnaKlueva/kbot.git
cd kbot

To install all necessary dependencies and compile the project, use:

go get
go build -ldflags "-X="github.com/AnnaKlueva/kbot/cmd.appVersion=v1.0.0

To test the compiled project, do the following:

./kbot version

as a result, you should get the app's version v1.0.0.

Configuration

Enter your Telegram bot token in silent mode:

read -s TELE_TOKEN

Export the value of the TELE TOKEN variable to the current shell environment.

export TELE_TOKEN

Running

Run KBot using the following command:

./kbot start

Link to Telegram bot

@annakliuieva_bot

About


Languages

Language:Go 77.9%Language:Makefile 15.6%Language:Dockerfile 6.5%