$ sudo apt install python3-venv python3-pip
$ python3 -m venv env
$ . env/bin/activate
$ pip3 install -r requirements.txt
$ sudo apt install postgresql
$ sudo -u postgres psql postgres
postgres=# create database myblog;
postgres=# create user myblog with password 'myblog';
postgres=# alter role myblog set client_encoding to 'utf8';
postgres=# alter role myblog set default_transaction_isolation to 'read committed';
postgres=# alter role myblog set timezone to 'UTC';
postgres=# grant all privileges on database myblog to myblog;
postgres=# \q