-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Investigate making code contributions easier with Gitpod #2772
Comments
This fixes e.g. `node server 8080 0.0.0.0`. Ref #2772.
This sounds really neat! Oops, you're supposed to be able to set the bind address on the command line, like I think you could skip ImageMagick. It's only needed for the raster (i.e. .png, .gif, .jpg) badges. That's a fairly unusual use case and most people probably would not need it for development. |
Wow, thanks a lot for the quick fix! 💯 It looks good to me, I'll try it out. Is there a way to use Lines 103 to 106 in a58de54
Maybe there should be some sort of |
Does Gitpod need it to be an npm script? It's surprising, but Heroku, Zeit Now, our production VPS, and I think our docker config seem content with the server binding to localhost. Probably we could find a way to do that if necessary. |
No, Gitpod can start any command, but I was thinking that it's quite nice to have one command start both the server and the front-end (using the
Interesting. Are requests to the badge server on 8080 only ever made via localhost? If developers never need to access it via a web preview (i.e. if they never need to use 8080 directly, or if something like |
The typical dev flow is both servers running on localhost. The web preview works on localhost:8080. How is Gitpod configured? Is there a config file that would get checked into the repo? That might be the best place to define a command that can be tailored for this situation. |
This fixes e.g. `node server 8080 0.0.0.0`. Ref #2772.
This fixes e.g. `node server 8080 0.0.0.0`. Ref #2772.
📋 Description
Following up from #2697 (comment).
I would like to make life easier for potential new shields.io contributors by implementing gitpod.io support for Shields development. Disclaimer: I work on Gitpod.
This could provide newcomers (and also Shields maintainers) with pre-configured workspaces in the cloud, allowing them to get started instantly, without having to first set up a complete development environment themselves.
TODO:
npm install
(Doesn't work yet, because the badge server on port 8080 refuses any requests with non-localhost domains, which Gitpod's preview pane tries to do)fixed in Fix overriding bind address on CLI #2773onOpen: open-preview
to port8080
in.gitpod.yml
in order to auto-open preview when the Shields server starts (but maybe wait for [mini-browser] Make the mini-browser background white again eclipse-theia/theia#4096 to restore the white background in Gitpod's preview)Pre-install ImageMagick(maybe not useful)README.md
to help newcomers get started (done in Make code contributions easier with Gitpod #2783)npm install && npm run build
to finish before getting started)Please let me know what you think of this idea, and if you know other setup/configuration things that should be automated for new contributors.
The text was updated successfully, but these errors were encountered: