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

30 - containerized local development #1449

Merged
merged 2 commits into from
May 17, 2024
Merged

Conversation

sethahrenbach
Copy link
Contributor

@sethahrenbach sethahrenbach commented May 10, 2024

  • remove & that backgrounds npm run container-start-server for containerized running
  • use 0.0.0.0 instead of localhost for container execution
  • Improve README with better instructions

@@ -144,7 +144,7 @@
"package:update": "if git diff --name-only ORIG_HEAD HEAD | grep --quiet package.json; then echo 'UPDATE: package.json was updated, consider running yarn in your workspace root'; fi",
"perms": "chmod -R u+rwX,go+rX,go-w .",
"semantic-release": "semantic-release --dry-run",
"start-server": "light-server --serve ../../ --bind localhost --port 8282 --no-reload --open --quiet &",
"start-server": "light-server --serve ../../ --bind 0.0.0.0 --port 8282 --no-reload --open --quiet",
"stop-server": "run-script-os",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess this means the server is exposed on all networks in a non-container environment. That seems like it should at least be explicit in the documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made a new script for running in a container and left the old one the same. good feedback

@cwerthomni cwerthomni merged commit 7185177 into master May 17, 2024
1 of 2 checks passed
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.

None yet

4 participants