Merge pull request #2 from frio/patch-1

Correctly hooks up the port ENV in run.py
master
Steven Loria 12 years ago
commit ee4afc76a6
  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