Exemplo n.º 1
0
from myApp import app

if __name__ == "__main__":
    app.run()
Exemplo n.º 2
0
from myApp import app
app.run()
Exemplo n.º 3
0
from myApp import app
from dotenv import load_dotenv

load_dotenv()

if __name__ == '__main__':
    app.run(debug=True)
Exemplo n.º 4
0
Arquivo: run.py Projeto: gsk727/git
def run():
    app.run(host = app.config.get("HOST"), port =  app.config.get("PORT"), debug=True)
Exemplo n.º 5
0
#Run a Webhard Server
from myApp import app

app.run(host = '0.0.0.0', debug = True, port = 5000)
Exemplo n.º 6
0
Arquivo: run.py Projeto: gsk727/git
def run():
    app.register_blueprint(groups.groups)
    app.register_blueprint(main.main)
    app.register_blueprint(magazine.magazine)
    app.run(host = app.config.get("HOST"), port =  app.config.get("PORT"), debug=True, threaded = True) #threaded = true
Exemplo n.º 7
0
from myApp import app
app.run(debug=True)
Exemplo n.º 8
0
from myApp import app
import os

port = int(os.environ['PORT'])
host = os.environ['IP']
app.run(port = port, host = host)
Exemplo n.º 9
0
from myApp import app

if __name__ == '__main__':
    app.run(debug=True, port=8000)
Exemplo n.º 10
0
# a top-level scipt importing the application instance assists to run
from myApp import app
from myApp.models import User

if _name_ == '_main_':
    app.run(host='0.0.0.0', port='5000')
#@app.shell_context_processor
#def make_shell_context():
#    return {'db': db, 'User': User}