Skip to content

Fully automate learner setup with Gitpod #260

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

Merged
merged 16 commits into from
May 5, 2022

Conversation

jacobparis
Copy link
Contributor

After playing around with the Remix blog tutorial in Gitpod, I wanted to see how much the Epic React learner process could be simplified the same way.

Looking at the issues in this repository, most of them are about local dev environment issues, whether they're incompatible Node versions or Windows bugs with the setup scripts. More than half the README.md (all-contributors excluded) is about navigating setup issues too.

After adding the gitpod.yml file, from the time I arrived at the repository, I was able to set up the application in my local VS Code, add my email to the questionnaires, run the tests, and complete the first exercise in under 2 minutes.

Running Epic React Fundamentals in Gitpod

Everyone who runs this repo in Gitpod can bring their own local VS Code or JetBrains IDE, with all their local settings, but they don't have to worry about having git, node, or npm installed, and the setup scripts will work for windows users too because they're just connecting to a linux environment that does all the work for them.

There is already a CodeSandbox link set up, which solves a similar problem although it only works in the browser and doesn't support the "Set your email" setup script. Gitpod can work in the browser too, but I think it's best to learn new things with the same tools and IDEs you do your regular development in.

You can try this out yourself to see how the workflow feels

Open in Gitpod

I'm not sure if you still intend on running any more Epic React live workshops, but eliminating these sorts of setup difficulties works really well in live workshops and I would love to work through the rest of this course to integrate Epic React

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Thanks! This seems great to me 👍 Just one thing.

@@ -0,0 +1,5 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Can we put this in the kcd.settings.json? I don't like surprising people with settings, but they can copy them if they want them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yes, I think that's a good call

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Confirmed they have been copied over and the un-suffixed settings.json has been removed

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants