tugitlabbot

command module
v0.0.0-...-91f5af4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

tugitlabbot

A Telegrambot to notify about changes on the TU Wien GitLab repository.

Screenshot Try it out: https://t.me/tuGitlabBot

Run the bot (native)

  1. Install golang
  2. Run go build
  3. Run TELEGRAM_TOKEN=XXXX ./gitlabbot
    Where XXXX is the Token for the Telegrambot

Run the bot with docker

  1. Install docker
  2. Build and start the docker container
docker build -t tugitlabbot-template .
docker run -e TELEGRAM_TOKEN=XXXX --rm --name tugitlabbot-container tugitlabbot-template

Where XXXX is the Token for the Telegrambot

Note: Those commands will run the bot in a docker container, however all state will be lost, when you shut down the container. To prevent this you can use docker volumes:

docker volume create tugitlabbot-volume
docker build -t tugitlabbot-template .
docker run --env TELEGRAM_TOKEN=XXXX \
      --mount type=volume,source=tugitlabbot-volume,target=/app/data \
      --name tugitlabbot-container tugitlabbot-template \

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址