gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Improve UX during Mesh (demo) startup #221

Open mephinet opened 5 years ago

mephinet commented 5 years ago

When starting the gentics/mesh-demo docker image for the first time, startup can be quite slow, as both OrientDB and ElasticSearch start creating their on-disk structures, then the demo content needs is imported, then the index is synced, then many other good things happen. During this period, when accessing http://localhost:8080/, all you get is

{"message": "Not Found", "internalMessage": "The rest endpoint or resource for given path {/} could not be found. Please verify that your Accept header is set correctly. I got {text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8}. It must accept {application/json}"}

I'm sure we can do better than that, ideally by providing some progress indicator, maybe some funny quotes, and finally redirecting to the UI, when it's available...

Jotschi commented 5 years ago

I think this would be best solved by the UI. The UI could display a status page depending on the mesh server status.