-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this repository compatible with Windows? #49
Comments
The user interface is a classic Node JS project and should be compatible with Windows. What is your error message? |
@ncarlier
I also had a problem with the file:
In the line:
Basically the error was telling me that no file was found that met that criteria, I solved it this way:
Anyway, I managed to run the server but the problem is that I can't use the forum without going through the authentication system, are there any test users? On the other hand, what should I do if what I want is to use another authentication system completely different, is there documentation for that or can you give me a small example? |
Oh, I forgot to mention that I also had a problem with the cache package, specifically this file: In the instruction: I got an error like Apparently u.Path has the path format as in linux, so I made a workaround like this:
As you can see it is not an efficient solution but it is useful while testing. |
Thank you very much for reporting these problems. I fixed cache loading by cleaning the path according to the OS and I update the lint cmd. Regarding node dependencies I will update all dependencies and deal with the breaking changes. Regarding your authentication problem, you have to build the user interface with some configuration: # if using OIDC provider such as Okta, Google, Auth0, Microsoft, ...
export REACT_APP_AUTHORITY=https://your_sub_domain.okta.com
# or if using a Reverse Proxy such as Traefik, NGINX, Apache, ...
# username will be extracted form one of those HTTP headers: `X-WEBAUTH-USER`, `X-Auth-Username`, `Remote-User`, `Remote-Name`
export REACT_APP_AUTHORITY=mock
npm run build More info here: https://github.com/ncarlier/readflow/blob/master/ui/README.md |
@ncarlier I meant to use my own authentication system, so I will not use any of these:
I imagine |
I don't know what your authentication system is but for your information, there are very good self-hosted OpenID Connect solutions (Keycloak, Hydra, ...) The authentication using the proxy is handled by this middleware: https://github.com/ncarlier/readflow/blob/master/pkg/middleware/proxy-auth.go |
Well I managed to make some progress in the compilation but the ui with npm I can't build it in Windows, should I do it with linux?
The text was updated successfully, but these errors were encountered: