I'm not able to run flask successfully
When i execute the apps_server.py..it stop initialized as follow
Serving Flask app "apps_server" (lazy loading) Environment:production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
Debug mode: on
It just stuck at that point...and there is no Running on http://localhost:5000/ line show up...
May I know what could be the problem?
This is snippet of the code
from flask import Flask, render_template, Markup, request, jsonify
from flask.helpers import send_file
import os,httplib,json,subprocess
import flask
from flask import request, jsonify, abort, render_template, flash, redirect, url_for
import argparse, sys
import logging
import logging.config
from logging.handlers import RotatingFileHandler
from logging import Formatter
#app = flask.Flask(__name__)
app=Flask(__name__,template_folder='templates')
app.config["DEBUG"] = True
@@Functions and code to execute@@
if __name__ == '__main__':
app.debug = True
app.run(host='0.0.0.0', port=5000)
Please advise further.