Home > other >  Python to write how to publish and deploy a web service?
Python to write how to publish and deploy a web service?

Time:09-21


Written in python is a simple web service, run after the source, type http://localhost:7789/SOAP? in your browser WSDL, you can see the following service interface

And the service of say_hello methods can be invoked,
Now want to distribute the service and to deploy on IIS (or other server), call in the service method through port address,
Refer to should do? Check online for a long time have no way to solve, hope technology and guiding a wave

CodePudding user response:

Released by uwsgi Nginx + + flask

CodePudding user response:

reference 1st floor oyljerry response:
by Nginx + uwsgi + flask to publish

Thanks for the great spirit guide, I try to, have a question to ask you

CodePudding user response:

Different PYTHON files need to be in NGINX configuration file entry and restart NGINX uwsgi configuration file also to restart, can not restart both the server and make the program to take effect?

CodePudding user response:

Python: use the flask + gunicorn + supervisor + nginx deployment python project

https://blog.csdn.net/qq_36592808/article/details/105559533
  • Related