search

Home  >  Q&A  >  body text

怎么使用python flask搭建静态服务器

1.我想使用python flask搭建一个静态服务器
2.我不想使用一行命令anywhere

import SimpleHTTPServer
SimpleHTTPServer.test()

3.我想挂在新浪云上

PHP中文网PHP中文网2827 days ago366

reply all(2)I'll reply

  • PHPz

    PHPz2017-04-17 17:30:40

    Frozen-Flask

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 17:30:40

    I guess what you want to see is this:
    SAE deployment of Flask application

    Flask is deployed to SAE using wsgi + nginx
    But generally speaking, there are not many places to configure the latter two. You just need to perfect your Flask and that's it.

    In addition, SAE has started charging daily rent. Are you sure you still want to deploy it on SAE? . . .

    reply
    0
  • Cancelreply