mirror of https://github.com/MedzikUser/go-pingbot
c8c798744a | ||
---|---|---|
.github/workflows | ||
backend | ||
config | ||
database/mongo | ||
website | ||
.env.schema | ||
.gitignore | ||
.gitpod.Dockerfile | ||
.gitpod.yml | ||
.goreleaser.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
config.schema.toml | ||
go.mod | ||
go.sum | ||
main.go | ||
nodemon.json | ||
nodemon.sh | ||
renovate.json |
README.md
Pingbot - Backend
This application "pings" websites every few minutes (to be set in config). It can be used to keep the application alive on e.g. glitch.me or repl.it.
Install Pre-Compile binary
- 💻 Linux amd64
- Download latest version
- Unpack file
tar xzf pingbot_*_linux_amd64.tar.gz
- Done your binary is
pingbot.out
Compile from Source Code
Not recommended because automatic updates don't work
Requirements
- Go (recommended latest version)
Compile
- Download source code
git clone https://github.com/MedzikUser/go-pingbot.git --depth 1
- Go to folder with source code
cd go-pingbot
- Download dependencies
go mod tidy
- Build
go build -o pingbot.out
- Done your compined binary is
pingbot.out
Configurate
- Complete .env according to .env.schema
- And fill in config.toml according to config.schema.toml
Run
./pingbot.out