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

Add DevContainer Support for Enhanced Development Environment #773

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

MikeRobGIT
Copy link

Description

This pull request introduces support for DevContainers in the Homer project, enhancing the development environment setup for contributors who use Visual Studio Code and its Remote Containers extension. By leveraging a fully configured Docker container, developers can quickly set up a consistent development environment, reducing the need to manage dependencies on individual development machines.

The changes include:

  • A Dockerfile that sets up a Node.js environment with additional tools and fonts, optimized for development.
  • A devcontainer.json configuration that integrates with Visual Studio Code to customize settings, install necessary extensions, and streamline the developer workflow.
  • A Docker Compose configuration to manage container orchestration.
  • Customization scripts for Zsh, including the Powerlevel10k theme for an enhanced terminal experience.

These modifications aim to make it easier for new contributors to start working on the project without the hassle of configuring their local environments, thereby promoting a more inclusive and accessible development process.

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I've read & comply with the contributing guidelines
  • I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • I have made corresponding changes to the documentation (README.md).
  • I've checked my modifications for any breaking changes, especially in the config.yml file

bastienwirtz and others added 14 commits March 11, 2024 14:36
Streamlined the devcontainer configuration for a more focused Node.js development experience. This involved simplifying the container by removing Postgres integration and many customized settings not universally applicable, such as those specific for NextJS development and various unnecessary VS Code settings and extensions. Also, cleaned up the Zsh plugins list to focus on essentials, improving setup time and reducing potential sources of confusion or conflict for new developers. This change aims to make the development environment quicker to set up, easier to understand, and more broadly applicable.

Removed settings and plugins are now considered out of scope for the primary development goals but can still be added on a per-project basis as needed.
Streamlined the `.devcontainer.json` configuration by removing several extensions related to Git, React, database management, Docker, AI coding assistance, and remote development. Retained core extensions essential for web development, while specifically reinstating "Vue.volar" to the main category to emphasize its relevance. This cleanup aims to enhance developer experience by focusing on the most utilized and important tools, reducing setup complexity and potential distractions. These changes are geared towards a more efficient, lean, and purpose-driven development environment setup.
Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for homer-demo-content ready!

Name Link
🔨 Latest commit 7cb989a
🔍 Latest deploy log https://app.netlify.com/sites/homer-demo-content/deploys/6629d5b2e13e350007b0d634
😎 Deploy Preview https://deploy-preview-773--homer-demo-content.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@MikeRobGIT MikeRobGIT marked this pull request as ready for review April 25, 2024 04:05
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