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

Simplify the GitPod flow #10137

Open
teolemon opened this issue Apr 15, 2024 · 3 comments
Open

Simplify the GitPod flow #10137

teolemon opened this issue Apr 15, 2024 · 3 comments
Labels
dev Everything regarding the process of development 👩‍💻 DevOps GitPod ✅ Task

Comments

@teolemon
Copy link
Member

teolemon commented Apr 15, 2024

Did anyone manage to run Product Opener fully online on GitPod ? eg: editor VSCode online, and no attempt at SSH-ing the thing to your laptop ?

  1. Click on the Install on GitPod button
  2. make dev on the terminal of the online VSCode (TODO document this step explicitely in the GitPod file)
  3. make up

now, I’m redirected to world.openfoodfacts.localhost, even though I’m fully on GitPod (IDE as well)
Being able to have Product Opener use the gitpod VM url instead of the world.openfoodfacts.localhost URL would probably unlock the problem. Note that editing /etc/host on my local machine didn’t solve the issue (Connection refused)

Part of

@github-project-automation github-project-automation bot moved this to To discuss and validate in 🍊 Open Food Facts Server issues Apr 15, 2024
@teolemon teolemon added dev Everything regarding the process of development 👩‍💻 DevOps GitPod labels Apr 15, 2024
@teolemon
Copy link
Member Author

The tutorial says "Remark: for some Linux distributions, port 80 is reserved. " >> The GitPod environment is iso for all users, so this evasive language is confusing. Is the default GitPod distro impacted or not ?

@alexgarel
Copy link
Member

alexgarel commented Apr 16, 2024

Note, on https://www.gitpod.io/docs/configure/repositories/environment-variables there are env variable we might be able to use.

For example simply adding ${GITPOD_WORKSPACE_URL} to server_name directive in nginx.conf might be sufficient (and adding the variable to nginx container in docker-compose.yml or dev.yml, of course)

@nford88
Copy link

nford88 commented Nov 19, 2024

Hey is there any update on this? I am in the same boat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Everything regarding the process of development 👩‍💻 DevOps GitPod ✅ Task
Projects
Status: To discuss and validate
Development

No branches or pull requests

3 participants