ajnisbet / opentopodata

Open alternative to the Google Elevation API!
https://www.opentopodata.org
MIT License
327 stars 71 forks source link

Non docker hosting server on windows #50

Closed vutle closed 3 years ago

vutle commented 3 years ago

Hi Andrew,

Do you have any document to run the hosting server on windows machine? I have problem installing the pylibmc. Also because the windows server machine is virtualized, so we can't host it as a docker app.

thanks

vutle commented 3 years ago

Please ignore this. I got it to work running on both tornado and waitress python server.

from opentopodata.api import app from waitress import serve serve(app, host='0.0.0.0', port=5005, threads=4, _quiet=True)

ajnisbet commented 3 years ago

Glad you got it working!

For anyone searching for this in the future, there's a couple of documents that might help:

These documents are largely contributed by users, as I don't have the ability to test on windows or the patience to run geospatial python projects without docker!