menpo / landmarker.io

Image and mesh annotation web application
https://www.landmarker.io
BSD 3-Clause "New" or "Revised" License
114 stars 21 forks source link

Ability to choose server #10

Closed jabooth closed 10 years ago

jabooth commented 10 years ago

Upon connecting to landmarker.io users should be presented with a UI that allows them to choose where their server is.

It is fine if we have a default of looking at http://localhost:5000 (for local landmarking) but it should be possible to choose an arbitrary server, so long as the server has CORS set up for http://www.landmarker.io.

jabooth commented 10 years ago

Note that once https://github.com/menpo/menpo-lmio-server/issues/2 is complete we may not need this to be a UI on the server (or only a very basic one) as the url could be all that is required to specify the address and port upon launch.

jabooth commented 10 years ago

This is now implemented. Upon launch we try and hit localhost:5000 - if we get no response we restart in demo mode (given by a URL param). The demo mode is now clearly labelled and a help page provided.