pip install -r requirements.txt
sudo apt update
sudo apt install postgresql postgresql-contrib
pip install Flask psycopg2-binary
sudo -i -u postgres
psql
CREATE USER myuser WITH PASSWORD 'mypassword';
ALTER USER myuser WITH SUPERUSER;
CREATE DATABASE mydatabase;
GRANT ALL PRIVILEGES ON DATABASE mydatabase TO myuser;
\q
\l
c\ mydatabase
sudo -i -u postgres
psql
\dn+
\q
exit
psql -h localhost -U postgres -d my_database < schema.sql