Deploying Flask Systems under WINDOW10 (Apache and WSGI)

Source: Internet
Author: User

The company has a small system that interacts with the data via URLs and other systems (a bit of dirt).

Thus, a small program was written using flask.

Now, considering the concurrency problem (flask itself is not concurrent), prepare to deploy in the APACHE+WSGI environment.

Baidu on the internet for half a day, found all kinds of pits. I was lucky, two hours basic.

The key is to find a good article, which is specifically mentioned (APACHE,WSGI and Python version must correspond, Apache and WSGI compiler must be consistent)

1. Install Apache.

The version I chose here is the 64-bit VC10 compiled.

Specific: http://www.apachelounge.com/download/vc10/

2. Install mod_usgi.so:

Download from here: Https://github.com/GrahamDumpleton/mod_wsgi/blob/master/win32/README.rst

Note: VC10 compiled, 64-bit.

3.python installation of version 3.4.

The rest of the configuration, on the Internet, there is not much to say

Deploying Flask Systems under WINDOW10 (Apache and WSGI)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.