Hey, looking into maybe contributing so I set up c...
# flyte-console
e
Hey, looking into maybe contributing so I set up console locally https://github.com/flyteorg/flyteconsole#-quick-start mentions setting admin api url env var to port 30080, but that didnt work for me, 30081 did though the only other thing i had to do then was use an addon to disable cors checks (eg. Cors everywhere) should the readme be updated or is there smth else wrong?
f
Cc @silly-rocket-62902 you recently contributed. Can you help
c
We have additional additional RedME for those who wanted to contribute (which includes info for disabling CORS): https://github.com/flyteorg/flyteconsole/blob/master/CONTRIBUTING.md. @silly-rocket-62902 Can you share if you used Readme.md or contributing.md for your local setup?
p
Hi @elegant-petabyte-32634 I was following README.md development section. https://github.com/flyteorg/flyteconsole/blob/master/README.md#-development let me know if anything is block and feel free to slack me 🙂
also i normally start the backend server by this https://docs.flyte.org/en/latest/getting_started/index.html and then you can set the port to 30080
e
Hey all, thanks for the pointers. I started the backend server like that too, but setting the admin url to 30080 didn't work for me. I tried following the development section too but that didn't work for me either (ie. 30080 still didn't work, couldn't figure out why in the time I spent on this). Also all of this was on Windows with WSL, so that might have affected something too. I'll try again on Ubuntu when I have some time.
o
@elegant-petabyte-32634 not sure if related but if you are using flytectl, depending on what command you are running (‘flytectl demo’ or ‘flytectl sandbox’) the default port is actually different. Demo port is 30080 Sandbox port is 30081 https://github.com/flyteorg/flytectl/blob/e92f7fccdf4e928f23c4db21893cbd266dcb7a3f/pkg/util/util.go#L19
e
got it working with my local k8s setup now 🥳 haven't tried the docker image again
🦜 3
c
Hi Robin, how it’s going? Do you need any more help?
e
Hey! I'm good thanks for asking, I managed to run the console locally and make changes etc. 🙂 one thing I'm missing from the console is being able to manage (create/view/delete) schedules, so when I have some time again I might start working on that.
c
Oh if you would work on it - it would be amazing. Don’t hesitate to add even small fixes that you feel are helpful 😇