pgbot/start.sh

9 lines
237 B
Bash
Executable file

#!/usr/bin/env bash
export TZ=Europe/Moscow
[[ -d .venv ]] || {
python -m venv .venv
}
source .venv/bin/activate
pip install --upgrade pip
pip install --upgrade bs4 fake_headers psycopg pyyaml requests schedule telethon
exec ./pgbot