Python Flask application host in IIS with fast cgi process -
please guide me how python2.7 flask framework application host in iis fast cgi process. searched many ideas on internet doesn't me till now. can give me simple process , if have video tutorial please share link of it. trial want specify,
- install iis feature 'on' cgi
- create virtual environment , link physical project folder
- convert application
- select application --> click on handler mapping--> add script map , input required data *.py, python27.exe %s %s --> ok
- placed .py file in 'cgi-bin' folder
- convert application
edit in 'c:\windows\system32\inetsrv\config\applicationhost.config'
open application in browser sample py application print 'hello'. getting output mentioned in sanp.
*** first tried simple application want host flask framework.
Comments
Post a Comment