Closed emrebayramc closed 4 years ago
Ok I guess as far as I understand to be able to self-host dashboard; I need to start hubAPI with my own config.js. I will try this and see if it works.
Edit: It looks like most of the functionality works without authentication. And login is only required to pull the hub images. So for now I don't need to setup my own hub with my own github auth.
Since the hub uses GitHub authentication for interacting with content (ratings, reviews) the origin for the hub API is restricted to https://dashboard.jina.ai
. Aside from the hub, the rest of the dashboard does not require authentication and will work properly on a different origin.
Hi @hanxiao, I am new to jina-ai but I decided to spend more time to play with it and hopefully contribute with PRs(appreciate any recommendation about which repo to start). I have tried to host the dashboard on my localhost following the doc but I am having an authentication issue. I followed the code and it looks like the github authentication goes through jina hub url. And when it returns successfully it redirects to jina ai dashboard instead of localhost dashboard.
So I have a few questions:
Or am I missing something? Thanks