Skip to content
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

login or create an user #25

Open
jHaselberger opened this issue Jan 27, 2020 · 6 comments
Open

login or create an user #25

jHaselberger opened this issue Jan 27, 2020 · 6 comments

Comments

@jHaselberger
Copy link

Hi,

I just cloned the repo and started the service using docker-compose.
But how do I login or create a new user?

@khaxis
Copy link
Collaborator

khaxis commented Jan 27, 2020

Hi,

TL;DR Please go to http://localhost:3001/ in your browser.

Did you start it directly with docker-compose file or running make up? The later one should have opened a tab in your browser where you get new credentials.

There there are two modes:

  1. (default) Single user. Home page automatically log you in. Currently working only from /
  2. Multiple users. Similarly to airflow, you can do it only using CLI. $ plynx users command line should do it. Note that you need to ssh to a container with environment where plynx CLI is installed and credential are right. Backend for example.

@jHaselberger
Copy link
Author

Yes I've allready visited localhost:3001.

There is one error message in the console:

OPTIONS http://localhost:5000/plynx/api/v0/token net::ERR_CONNECTION_REFUSED

@khaxis
Copy link
Collaborator

khaxis commented Jan 27, 2020

Unfortunately I could not replicate it. Are you using make up command to run it?

Do you have the same error as here? #23 It was fixed in 37c88a5

@khaxis
Copy link
Collaborator

khaxis commented Jan 27, 2020

If not can you please share make up output and everything else in console please? It would be very helpful

@jHaselberger
Copy link
Author

Hi sorry for my late response.
I figured it out: the backend was down. Just crashed after few seconds.

Im testing on windows. After changing the volumes to virtual ones, everything is working.

If wanted I can share the adapted docker-compose.yaml.

@khaxis
Copy link
Collaborator

khaxis commented Jan 30, 2020

Cool, thanks! Sure, what is the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants