Esempio n. 1
0
# -*- encoding=UTF-8 -*-

from nowstagram import app

if __name__ == '__main__':
    app.run(debug=True)

Esempio n. 2
0
# -*- encoding=UTF8 -*-

from nowstagram import app

if __name__ == '__main__':
    app.run(debug='True')
Esempio n. 3
0
# -*- encoding=UTF-8 -*-

from nowstagram import app

if __name__ == '__main__':
    app.run(debug=True)
Esempio n. 4
0
# -*- encoding=UTF-8 -*-

from nowstagram import app

if __name__ == '__main__':
    app.run(host='0.0.0.0')
Esempio n. 5
0
# -*- encoding=UTF-8 -*-

from nowstagram import app

if __name__ == '__main__':

    from werkzeug.contrib.fixers import ProxyFix
    app.wsgi_app = ProxyFix(app.wsgi_app)
    app.run(debug=True,Threaded=True)
Esempio n. 6
0
# -*- encoding=utf-8 -*-

from nowstagram import app

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000, debug=True)
# -*- encoding=UTF-8 -*-
# 文件功能:web服务器运行写在这个文件。

from nowstagram import app

if __name__ == '__main__':
    app.run(host='127.0.0.1', port=5001, debug=True)
Esempio n. 8
0
# -*- endcoding=UTF-8 -*-
from nowstagram import app

if __name__ == '__main__':
    app.run(debug=True)  # 这里还可以更改port host...