procfile flask
Example of what the procfile might look like for a flask app:
web: gunicorn app.py app:app
Or maybe this is for the development app:
web: python app.py
procfile flask
Example of what the procfile might look like for a flask app:
web: gunicorn app.py app:app
Or maybe this is for the development app:
web: python app.py
heroku python heroku port issue
import os
port = int(os.environ.get('PORT', 33507)) # add these lines in code
app.run(host=args.host, port=port, debug=True)
heroku config:add PORT=33507 # run this command once you upadte the code in terminal
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us