<s> from __future__ import unicode_literals , absolute_import , division , print_function <EOL> from flask import Flask <EOL> from flask . ext . twip import Twip <EOL> from flask . ext . twip . backend import SQLBackend <EOL> from flask . ext . twip . environment import HerokuEnvironment <EOL> import os <EOL> app = Flask ( __name__ ) <EOL> app . config . from_object ( '<STR_LIT>' ) <EOL> be = SQLBackend ( <EOL> db = os . environ . get ( '<STR_LIT>' ) , <EOL> table = '<STR_LIT>' <EOL> ) <EOL> twip = Twip ( app , backend = be , environment = HerokuEnvironment ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> port = int ( os . environ . get ( '<STR_LIT>' , <NUM_LIT> ) ) <EOL> app . run ( <EOL> debug = True , <EOL> host = '<STR_LIT>' , <EOL> port = port <EOL> ) </s>
