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

feat: add Docker .devcontainer setup in docs #1643

Open
Nsttt opened this issue Nov 1, 2023 · 2 comments
Open

feat: add Docker .devcontainer setup in docs #1643

Nsttt opened this issue Nov 1, 2023 · 2 comments
Labels
🌟 enhancement New feature or request

Comments

@Nsttt
Copy link
Contributor

Nsttt commented Nov 1, 2023

Is your feature request related to a problem? Please describe.

I often find myself needing to ensure that my development environment is consistent across my team to prevent "it works on my machine" issues. However, setting up a consistent environment manually can be time-consuming and error-prone.

Describe the solution you'd like to see

I propose adding a Docker .devcontainer setup in the documentation of create-t3-app. This setup would provide a containerized development environment that anyone can use regardless of their local machine setup. By following the steps in the documentation, developers would be able to quickly get a consistent, reproducible development environment up and running.

Describe alternate solutions

Don't do it.

Additional information

A nextjs dev cointainer info can be found here. vercel/next.js#27754

This is a further issue improving what I proposed on #1580

Example here https://github.com/Nsttt/t3-devcontainer

@Nsttt Nsttt added the 🌟 enhancement New feature or request label Nov 1, 2023
@juliusmarminge
Copy link
Member

does hmr and all that works in dev with this?

i'd be ok with adding this to the documentation - should it be it's separate document or added as a "sidenote" in the existing docker documentation?

@Nsttt
Copy link
Contributor Author

Nsttt commented Nov 2, 2023

Yeah, it seems to work just fine. I'm going to give it a bit more thought on how to properly set it up on https://github.com/Nsttt/t3-devcontainer

Any feedback is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants