Skip to content

Instantly share code, notes, and snippets.

@chacken
Created July 5, 2013 03:27
Show Gist options
  • Save chacken/5931453 to your computer and use it in GitHub Desktop.
Save chacken/5931453 to your computer and use it in GitHub Desktop.
import os
from tier import create_app
app = create_app('../config/production.py')
port = int(os.environ.get("PORT", 5000))
if __name__ == '__main__':
app.run(host='192.168.1.220', port=port)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment