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

Configure cloud based development for contributors #3150

Merged
merged 15 commits into from
Aug 2, 2021
Merged

Configure cloud based development for contributors #3150

merged 15 commits into from
Aug 2, 2021

Conversation

mikenikles
Copy link
Contributor

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 for yarn install or yarn run build:test-project to run as this happened already behind the scenes.

@dac09
Copy link
Collaborator

dac09 commented Jul 30, 2021

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

CONTRIBUTING.md Show resolved Hide resolved
Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
Copy link
Collaborator

@dac09 dac09 left a 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!

@dac09 dac09 changed the title Configure cloud based development Configure cloud based development for contributors Jul 30, 2021
@dac09 dac09 requested a review from thedavidprice July 30, 2021 20:25
@dac09 dac09 self-assigned this Jul 30, 2021
Copy link
Contributor

@thedavidprice thedavidprice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@thedavidprice thedavidprice merged commit d16ba9c into redwoodjs:main Aug 2, 2021
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Aug 2, 2021
dac09 added a commit to dac09/redwood that referenced this pull request Aug 4, 2021
…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)
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.

3 participants