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)