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 + base config #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RoboMagus
Copy link
Contributor

While doing some development around this plugin I found it nice to have a pre-configured development environment.
Not sure if that's something you'd want this merged, but opening this up as a PR just in case 😉.

@ualex73
Copy link
Owner

ualex73 commented May 26, 2024

I haven't tested (or worked) with devcontainer, let me have a look ;-)

Copy link

Choose a reason for hiding this comment

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

Would help if you make the scripts executable by default chmod +x .devcontainer/scripts/* and commit the new "mode 100755"

set -e

# Start Home Assistant
hass -c /config
Copy link

@dala318 dala318 Jan 15, 2025

Choose a reason for hiding this comment

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

.devcontainer/config ?

Copy link

Choose a reason for hiding this comment

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

Might have to add at least parts of below snippet for GitHub Code Space to allow port forwards.

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 127.0.0.1
    - ::1

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.

3 participants