Deploy Aiogram bot on Digital Ocean

Connect

Enter root and password

adduser medask

type password

usermod -aG sudo medask

sudo apt-get update

sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib

sudo -H pip3 install --upgrade pip

sudo -H pip3 install virtualenv

su medask

cd

быть в папке medask

git clone https://github.com/fleecybastard/medask-bot.git

username:fleecybastard

password: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

cd medask-bot

virtualenv venv
source venv/bin/activate

pip install psycopg2 aiogram aioredis requests