almalinux.org icon indicating copy to clipboard operation
almalinux.org copied to clipboard

Enhancement: Add devcontainer support to repo.

Open alaurie opened this issue 1 year ago • 2 comments

Add devcontainer support to the website repo. This enhancement helps lower the barrier of entry for contributions by:

  • Standardizing the Development Environment: Developers can use a pre-configured container, ensuring everyone works with the same tools, versions, and configurations, which reduces setup time and inconsistencies.

  • Simplifying Setup: New contributors can start coding immediately without needing to install and configure complex software stacks. Just open the project in a compatible IDE like VS Code, and the environment is set up automatically.

  • Enhancing Collaboration: With a uniform development environment, issues related to environment-specific bugs are minimized, making code reviews and debugging more straightforward.

  • Portability: The dev container can be used across different platforms (Windows, macOS, Linux), providing consistency regardless of the contributor's operating system.

  • Integration with Github Codespaces: Contributors can create a development environment for the project directly from GitHub without any local setup.

alaurie avatar Dec 09 '24 05:12 alaurie

I just set this up locally for my own projects and think it's a grand idea (literally last night!)! Let me know if this is something you want to tackle or if this is just a general issue anyone can snag :).

I was also humoring setting up a basic task/job runner[1][2] to make development a bit easier, but your idea is much better (can be used in tandem as well) (yay, reproducibility).

On a related nerdy note, I was also playing with devbox, which helps make Nix a bit friendlier. I highly recommend taking a peak!

[1] just [2] mise

codyro avatar Dec 09 '24 13:12 codyro

Anyone can snag @codyro. I was gonna take a crack at it but if you've already got the bones of something, throw it up here and we'll see how it goes.

alaurie avatar Dec 09 '24 14:12 alaurie