A little educational project. Telegram bot that translate stranger russian slang to human language
MPL-2.0 License
A little educational project. Telegram bot that translate stranger Russian slang to human language
Up-to-date information is available in News Public
I love java, but sometimes I want some variety... sorry for the bleeding eyes
Tags | Description |
---|---|
latest |
Using the latest tag will pull the latest release image |
master |
Using the master tag will pull latest master-branch image |
sha-([a-z0-9]{7}) |
Using this tag will push image based on relevant git-commit (sha-155fc99)
|
#.#.# |
Using this tag will push relevant Release (1.1.0)
|
I strongly urge you to use Docker
using docker-compose:
.env
file. like this:PGHOST=obscure_db
PGUSER=root
PGDATABASE=postgres
PGPASSWORD=****
#PGPORT=5432 # Only if need map to global network
DEBUG=false
TELEGRAM_TOKEN=****
docker-compose.yml
file. like this:version: "2"
services:
bot:
image: ijo42/obscureslangtranslator:latest
restart: always
depends_on:
- db
environment:
DATABASE_URL: postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST}:5432/${PGDATABASE}?schema=public
DEBUG: ${DEBUG}
TELEGRAM_TOKEN: ${TELEGRAM_TOKEN}
db:
image: postgres:latest
container_name: ${PGHOST}
restart: always
# ports: # Only if need map to global network
# - ${PGPORT}:5432
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${PGUSER}
POSTGRES_PASSWORD: ${PGPASSWORD}
POSTGRES_DB: ${PGDATABASE}
volumes:
db_data:
docker-compose up -d
using heroku:
heroku git:remote -a <app-name>
)FIELD | VALUE |
---|---|
TELEGRAM_TOKEN | |
APP_URL | https://<app-name>.herokuapp.com:443 |
NTBA_FIX_319 | TRUE |
NTBA_FIX_350 | TRUE |
git push heroku master
)As described in LICENSE, MPL-2.0 used
I also try to stick to Semantic Versioning, Conventional Commits