Jan-30-2019, 10:17 AM
hi,
I have a python project written in flask using python3.6. Now i have a team of 4-5 people who are going to use it, how can i deploy my python flask app on wamp server.
Methods i tried:
1 st method: https://www.youtube.com/watch?v=N3XfGXi4ifE
1 .In this i have to change denied text to granted text
2. second add +ExceCGI in the line (Options +Indexes +FollowSymLinks +Multiviews +ExceCGI)
3. Add handler .py
and then restart wamp and run the localhost/filename.py and it prints the file text as it is and does not open's in my friends system.
second method:
method is listed here
https://www.storehubs.com/Blog/deploy-py...ws-server/
but i am unable to LoadModule wsgi_module modules/mod_wsgi.so , as link mentioned in the reading is of apache vc10,
i have installed mod_wsgi using python but when i run mod_wsgi-express module-config , it sends an output like :
is there any such guidance anyone of you can provide on that how to run flask on wampserver
or any server which is on windows 10?
I have a python project written in flask using python3.6. Now i have a team of 4-5 people who are going to use it, how can i deploy my python flask app on wamp server.
Methods i tried:
1 st method: https://www.youtube.com/watch?v=N3XfGXi4ifE
1 .In this i have to change denied text to granted text
2. second add +ExceCGI in the line (Options +Indexes +FollowSymLinks +Multiviews +ExceCGI)
3. Add handler .py
and then restart wamp and run the localhost/filename.py and it prints the file text as it is and does not open's in my friends system.
second method:
method is listed here
https://www.storehubs.com/Blog/deploy-py...ws-server/
but i am unable to LoadModule wsgi_module modules/mod_wsgi.so , as link mentioned in the reading is of apache vc10,
i have installed mod_wsgi using python but when i run mod_wsgi-express module-config , it sends an output like :
Error:LoadFile "c:/python36/python36.dll"
LoadModule wsgi_module "c:/python36/lib/site-packages/mod_wsgi/server/mod_wsgi.cp36-win_amd64.pyd"
WSGIPythonHome "c:/python36
and then i add this into httd.conf and what to do next?is there any such guidance anyone of you can provide on that how to run flask on wampserver
or any server which is on windows 10?