diosteama

command module
v0.0.0-...-f829b0e Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Unlicense Imports: 2 Imported by: 0

README

Use with docker

docker-compose

Configure bot

Copy -dist files and set content

$ cat db.env
POSTGRES_PASSWORD=koalasmuertos
POSTGRES_USER=diosteama
POSTGRES_DB=diosteama

$ cat bot.env
TELEGRAM_BOT_TOKEN=secret:token
DIOSTEAMA_DB_URL=postgres://diosteama:koalasmuertos@db/diosteama
Launch bot

Execute database

docker-compose up -d db

Import dump

zcat ~/Downloads/quotes.2020-06-22T10_00+00_00.sql.gz |docker exec -i diosteama_db_1 psql -U diosteama

Execute bot

docker-compose up -d bot

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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