How to create a publically accessible API using Flask/postgres/SQLAlchemy Create a virtualenv Install flask to run use gunicorn app:app to migrate use python manage.py db migrate python manage.py db upgrade