openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

Setup GitHub Codespaces

Open snebjorn opened this issue 3 years ago • 5 comments

This adds support for GitHub Codespaces. It's pretty much a GitHub flavored Gitpod.

image

@wing328 @jimschubert @cbornet @jmini @etherealjoy @spacether

snebjorn avatar Sep 27 '22 14:09 snebjorn

I got it working with a headless chromium so now it can also run JS/TS tests 🚀

I also setup a running petstore. But it doesn't seem that anything is using it so I've commented it out again. Should someone need it they can just activate it again.

snebjorn avatar Sep 30 '22 12:09 snebjorn

cc @joschi as well who added Gitpod support to this repo previously

@joschi have you tried Github Codespaces? which one do you prefer?

wing328 avatar Oct 03 '22 03:10 wing328

Gitpod is probably looking into devcontianer.json support

  • https://github.com/gitpod-io/gitpod/issues/7721

Then users can spin up containers where ever they please :)

snebjorn avatar Oct 03 '22 07:10 snebjorn

@joschi have you tried Github Codespaces? which one do you prefer?

I have played around with GitHub codespaces a little bit. In the end it's similar (almost identical) to what Gitpod is offering.

What I like better in Gitpod is that it also works with local IDEs, i. e. VSCode Desktop or any IDE based on IntelliJ IDEA: https://www.gitpod.io/docs/references/ides-and-editors/intellij

cc @joschi as well who added Gitpod support to this repo previously

@wing328 I think you still have to add the Gitpod.io GitHub App to this repository for the prebuilds to work, like I did with openapi-diff. 😉

Original PR: https://github.com/OpenAPITools/openapi-generator/pull/12508

joschi avatar Oct 03 '22 21:10 joschi

What I like better in Gitpod is that it also works with local IDEs, i. e. VSCode Desktop or any IDE based on IntelliJ IDEA: https://www.gitpod.io/docs/references/ides-and-editors/intellij

Github Codespaces support local IDEs. I'm currently using the setup from this PR to develop my recent PRs in VSCode on my local machine.

snebjorn avatar Oct 04 '22 18:10 snebjorn