python -m flask run
ps -ef | grep flask - shows all flask processes
sudo lsof -i :5000 - shows all processes running at port 5000
kill -9 SOME_PID - kills a process with id SOME_PID
Go to https://postgresapp.com, and follow the instructions.
It seems, they keep all libs in the Postgres.app package folder.
Install pgAdmin 4.
For Flask, we need ....
For Postgres, we need psycopg2.