plynx-team / plynx

PLynx is a domain agnostic platform for managing reproducible experiments and data-oriented workflows.
https://plynx.com
Apache License 2.0
301 stars 37 forks source link

login or create an user #25

Open jHaselberger opened 4 years ago

jHaselberger commented 4 years ago

Hi,

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

khaxis commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

Do you have the same error as here? https://github.com/khaxis/plynx/issues/23 It was fixed in https://github.com/khaxis/plynx/commit/37c88a56f243b8ec8d46dc3faa6d5d5481c824d1

khaxis commented 4 years ago

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

jHaselberger commented 4 years ago

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 commented 4 years ago

Cool, thanks! Sure, what is the fix?