Skip to content

docs: add Gitpod quickstart to blog tutorial#2711

Merged
kentcdodds merged 5 commits intoremix-run:mainfrom
jacobparis:patch-2
Apr 15, 2022
Merged

docs: add Gitpod quickstart to blog tutorial#2711
kentcdodds merged 5 commits intoremix-run:mainfrom
jacobparis:patch-2

Conversation

@jacobparis
Copy link
Copy Markdown
Contributor

@jacobparis jacobparis commented Apr 9, 2022

This PR adds a Gitpod quickstart to the blog tutorial. It is currently linked to my fork of indie-stack that has Gitpod configured (PR for that at remix-run/indie-stack#58)

The goal is for people following the blog tutorial to not have to worry about setting up their local environment or installing Fly. In one click, they should be able to get into a code editor with the demo application running.

Message from Kent 'Could you open a PR? I want to see what the experience would be like on the blog tutorial'

This will remain a draft until the workflow is deemed good enough to merge into Indie Stack, at which point I will update this badge to point at the base repository and remove the Draft tag

Try it out

Click this button to create a Gitpod workspace with the project set up and ready to run in VS Code or JetBrains either directly in the browser or on the desktop.

Gitpod Ready-to-Code

Demo (opening in local VS Code)

remix-blog-gitpod.mp4

Demo (opening in browser)

remix-blog-gitpod-browser.mp4

@jacobparis jacobparis marked this pull request as draft April 9, 2022 22:15
@kentcdodds kentcdodds self-assigned this Apr 9, 2022
@MichaelDeBoey MichaelDeBoey changed the title (docs) Add Gitpod QuickStart to blog tutorial docs: add Gitpod quickstart to blog tutorial Apr 10, 2022
Copy link
Copy Markdown
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.

Yeah, this is neat 👍

Comment thread docs/tutorials/blog.md Outdated
Comment thread docs/tutorials/blog.md Outdated
Comment thread docs/tutorials/blog.md Outdated
@andrewbrey
Copy link
Copy Markdown
Contributor

@jacobparis I just gave this a try against your repository branch, and noted the prisma dev migration is not done automatically at container init. That might be a nice thing to add to the setup script (like you're doing when you create the .env file for the user). If you did that, clicking "open in gitpod" would launch into a fully working and initialized dev environment, db and all 👍

@jacobparis
Copy link
Copy Markdown
Contributor Author

@jacobparis the prisma dev migration is not done automatically at container init

Good catch, that is definitely worth including

@kentcdodds kentcdodds marked this pull request as ready for review April 15, 2022 22:02
@kentcdodds kentcdodds merged commit 86ea04b into remix-run:main Apr 15, 2022
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.

4 participants