does not work with apache wsgi server
savelov opened this issue · 3 comments
although the examples works as standalone, I could not use it with apache2 wsgi module (python3) - renaming app object to application. I had to switch to flask-restplus instead. probably issue is with parsers/ resources that should be initialized differently
Thanks for the feedback. I have tried this only on my local machine with Python on Windows using the integrated HTTPS Server during development or on Azure using a Azure Web App running on a Linux Backend....I'm not an export on this, so if anyone can help to make sure the script will work also with Apache2 it will great
I have uploaded the example rest api working over mssql connection on flask_restplus on https://github.com/savelov/restful_demo.
It works with apache wsgi, and also I had to switch to freetds odbc as microsoft does not ship arm64 binary for mssql odbc client on linux
Would be great if you could make the README a bit more helpful.You mentioned Apache2 before. For example, you could add more details on make your repository work with it. Also adding some more info to help a developer using your repo, understanding what the code will do and how that set up an local (or cloud?) environment to run it.