Mike here, I work at Gitpod and have been following Redwood for quite some time out of personal interests. Excited to have a chance and combine it all .
Excellent work @pi0neerpat with the repo! This is a simple way to get started.
The linking fails with error An unexpected error occurred: "expected workspace package to exist for \"css-loader"".. Unfortunately, the workaround in issue 2215 (sorry, new users can only post two links) doesn’t seem to resolve the issue.
If you want to test it, this link opens a Gitpod workspace on my branch. Run yarn rwt link ../redwood in the redwood-app directory to see the error.
Any advice on how to get passed that would be awesome
This is interesting. I would like to use this for reviewing PRs. How does it work with databases? What are the options or we have to use a cloud option? And running scripts for seeding the data?
Welcome to the Redwood community! We actually have a newer way of “linking” the latest redwood codebase, the improved process is in PR and should be merged shortly (probably today)
Are you on the Redwood discord? Please ping me on there if you’d like to chat realtime - would be awesome to see this working on Gitpod esp. if we could use it for PRs and/or framework testing
Thanks Anthony, I’ve been working with Danny behind the scenes to get Redwood working on Gitpod. We’re now at a point where you can test it with the following link: Dashboard — Gitpod
I’m going to open a PR with instructions on how to enable Prebuilds so that Gitpod continuously prepares new development environments for each code change. With that, you no longer have to wait for any yarn install, building the test-project or linking redwood to the test-project.
I’ll open a PR later today. Please let me know your feedback
Update: This is not happening tonight . I had a day off and am exhausted from spending it in downtown
The new gitpod integration is really awesome especially for contributing. I just checked out on a PR and it was great for testing the changes but I think something that would be really cool if there was a way to also get the changed files to show up in the git source control panel on the sidebar and be able to see the diffs would be great for code reviewing
Do you know if that is something that is possible @mikenikles
Ah that’s likely a UX issue. There’s a “Source Control” and a “GitHub Pull Request” panel. The “Source Control” panel only shows changes you’ve made since you started the Gitpod workspace.
You should see the “GitHub Pull Request” icon at the bottom of the left side nav. The screenshot below is what I see when I click the Gitpod status link in the 3253 PR.
Once you click on a file in the “GitHub Pull Request” panel, it opens on the right and you can leave comments in the code right there and Gitpod will sync them with GitHub.
Ahh that makes sense. I was definetly looking in the wrong area I don’t have that icon on the bottom I would assume I need to login to github. But when I do that it says try again or go to access controls Maybe I need to check certain permissions on?
yeah still nothing I gave access earlier to public_repos because thats what I thought it needed but still won’t show pull requests. I have email and public_repos on the rest is off
I am joining @ajoslin103 - and expect many more RW fans, once this additional feature that feature (GitPod with the Tutorial) gets announced (@mikenikles hope you “hear” this.
Tag me anywhere on the internet and I’ll show up .
There’s a gitpod-starter repo on the redwoodjs org on GitHub that is a good place to start (I can’t post links yet here). Worth checking that out although I don’t believe it’s documented anywhere officially yet.
Renovate bot has been keeping the dependencies up-to-date, but let me know if you run into any issues.
in case it helps, the example-storybook repo has an “Open in GitPod” button that should work for the most part. I referenced gitpod-starter to help get it started. The example-storybook repo is the tutorial.