virtualevn venv
. venv/bin/activate
pip install -r requirements.txt
sudo systemctl start postgresql
python
>>>from flaskblog import create_app, db
>>>app = create_app()
>>>app.app_context().push()
>>>db.create_all()
>>>db.session.commit()
python run.py
Open link 127.0.0.1:5000/ in browser.