Correctly hooks up the port ENV in run.py

Looks like this was a simple oversight :)
master
frio 11 years ago
parent 0d9edaeaee
commit c2c90f7be1
  1. 2
      {{cookiecutter.repo_name}}/run.py

@ -5,4 +5,4 @@ from {{cookiecutter.repo_name}} import main
if __name__ == '__main__':
port = int(os.environ.get('PORT', 5000))
main.app.run()
main.app.run(port=port)

Loading…
Cancel
Save