import os
import sys

sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

from flask_script import Manager, Server
from __init__ import app
from livereload import Server

manager = Manager(app)
sever = Server(app.wsgi_app)
# sever.serve(port="80",host="127.0.0.1")
# sever.serve()
manager.add_command("run",sever.serve(
    port=80,
    debug=True,
))
# manager.add_command("runserver", Server(
#     use_debugger=True,
#     use_reloader=True,
#     host='127.0.0.1',
#     port=80
# )
#                     )
# from livereload import Server
# server = Server(app.wsgi_app)
# manager.add_command("dev", server.serve(port=80))

if __name__ == "__main__":
    manager.run()

2014884824c8c3ed7b9f74c226d32d676cade6cf
<mask token>

<mask token>
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
<mask token>
manager.add_command('run', sever.serve(port=80, debug=True))
if __name__ == '__main__':
    manager.run()

<mask token>
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
<mask token>
manager = Manager(app)
sever = Server(app.wsgi_app)
manager.add_command('run', sever.serve(port=80, debug=True))
if __name__ == '__main__':
    manager.run()

import os
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from flask_script import Manager, Server
from __init__ import app
from livereload import Server
manager = Manager(app)
sever = Server(app.wsgi_app)
manager.add_command('run', sever.serve(port=80, debug=True))
if __name__ == '__main__':
    manager.run()

import os
import sys

sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

from flask_script import Manager, Server
from __init__ import app
from livereload import Server

manager = Manager(app)
sever = Server(app.wsgi_app)
# sever.serve(port="80",host="127.0.0.1")
# sever.serve()
manager.add_command("run",sever.serve(
    port=80,
    debug=True,
))
# manager.add_command("runserver", Server(
#     use_debugger=True,
#     use_reloader=True,
#     host='127.0.0.1',
#     port=80
# )
#                     )
# from livereload import Server
# server = Server(app.wsgi_app)
# manager.add_command("dev", server.serve(port=80))

if __name__ == "__main__":
    manager.run()
