flyteorg / flyte

Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.
https://flyte.org
Apache License 2.0
5.81k stars 660 forks source link

[Core feature] Simplify the local development environment for flyteconsole #5099

Open MortalHappiness opened 8 months ago

MortalHappiness commented 8 months ago

Motivation: Why do you think this is important?

The setup guide of flyteconsole says that we need to generate an SSL certificate and set domain name routing rules in /etc/hosts, which is way too complex for frontend development. For the frontend development, we don't need SSL because we can use HTTP instead of HTTPS. We don't need a custom domain name except that the backend has the multi-tenancy feature. However, as far as I know, Flyte does not have the multi-tenancy feature now.

Goal: What should the final outcome look like, ideally?

Simplify the local development environment for flyteconsole to remove SSL and domain name related stuffs.

Describe alternatives you've considered

N/A

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

Have you read the Code of Conduct?

dosubot[bot] commented 8 months ago

It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!

#### About Dosu This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot.
RaghavMangla commented 1 month ago

Hi, I would like to work on this

davidmirror-ops commented 1 month ago

@RaghavMangla sure. Please let us know soon if you have questions or need help. Thanks!

Soot3 commented 3 weeks ago

Good day @davidmirror-ops Here' s the setup guide https://github.com/flyteorg/flyteconsole/blob/master/README.md#-development with an SSL definition and hosts record instruction.

Found another guide without the hosts record which also adds that the SSL generation is necessary to avoid errors on yarn start.

I have tested it and found it true. Generating this error message

ERROR: Can not locate server.key and server.crt in ../../scripts/certificate location
Please re-genereate your site certificates by running yarn gen:ssl than re-run the command

So on the docs end I can rewrite the steps here and here to not add a host record.

Is that alright?