-
Notifications
You must be signed in to change notification settings - Fork 993
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
Configure cloud based development for contributors #3150
Configure cloud based development for contributors #3150
Conversation
Thank you much for this @mikenikles @thedavidprice please give this a go! I'm very pleased with how it works, and would love to try it for trying PRs in linked project right in the browser |
Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm excited to have this in the PR workflow, but will wait for others in the core team to have a chance to review!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
…om-functions-test * 'main' of github.com:redwoodjs/redwood: Better SEO by default on every pages (redwoodjs#3026) Add more info in the terminal | Tweak gitpod settings (redwoodjs#3185) Undo accidentally vscode settings change (redwoodjs#3184) Upgrade RHF to v7.11.0 (redwoodjs#3043) [setup tailwind] Include tailwind by adding directives to index.css (redwoodjs#3181) Configure cloud based development for contributors (redwoodjs#3150)
Context
This is based on a conversation in the community forum.
What happens here?
A new
.gitpod.yml
file configures Gitpod (www.gitpod.io). This allows anyone to start a development environment in a browser and contribute to Redwood or review PRs - no need to set anything up on a local computer.The config file automates the instructions in
CONTRIBUTING.md
, hence the workspace contains two directories:redwood
redwood-app
How to test this PR?
You can click the following link to start a new workspace based on my branch: https://gitpod.io/#https://github.com/mikenikles/redwood/tree/configure-cloud-based-development
What's next?
If this PR gets merged, please also configure the Gitpod GitHub application to enable prebuilds for this repository. For each code change pushed to GitHub, Gitpod will run the
init
tasks in the.gitpod.yml
file and prebuild new environments. When someone starts a workspace, they don't have to wait foryarn install
oryarn run build:test-project
to run as this happened already behind the scenes.