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

Add port forward to Notebook Landing Page message #711

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

hansent
Copy link
Contributor

@hansent hansent commented Oct 2, 2024

Description

If you start inference server without NOTEBOOK_ENABLED the notebook link on the landing page goes to a page that instructs you to tun the docker image with added flag -e NOTEBOOK_ENABLED=true

However without also forwarding the port 9002 via -p 9002:9002 flag, the result is just a broken page that doesnt load. This just adds that flag to the message.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

locally

Any specific deployment considerations

I ran npm run build in inference/landing but didn't commit the build output files since there seemed to be more changes but see e.g. that inference/landing/out/notebook-instruction is commited in the repo. So instead just added the small change to those build output files directly (to avoid having to do these manual(?) changes again.

Docs

n/a

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit 85b1a3c into main Oct 3, 2024
57 checks passed
@PawelPeczek-Roboflow PawelPeczek-Roboflow deleted the notebook-landing-message-port branch October 3, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants