from app import app @app.shell_context_processor def make_shell_context(): return{'app': app, 'position': Position} if __name__ == '__main__': app.run('0.0.0.0', 8088, debug=True)