Skip to content

Instantly share code, notes, and snippets.

@twyle
Created June 1, 2022 06:27
Show Gist options
  • Save twyle/8551d012a2ac04c4cd32820b7bdf5f83 to your computer and use it in GitHub Desktop.
Save twyle/8551d012a2ac04c4cd32820b7bdf5f83 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
"""This module executes or application."""
import os
from api import app
if __name__ == '__main__':
port = os.getenv('PORT') or 5000
app.run(host='0.0.0.0', port=port)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment