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

Run local development environment without hosts file modifications #41

Merged
merged 8 commits into from
Mar 21, 2024

Conversation

dmohns
Copy link
Member

@dmohns dmohns commented Feb 21, 2024

The goal of this PR is to further simplify the setup of a local development environment.

Currently, the local development environment uses a dedicated Nginx container to route local traffic. For this to work developers are required to modify their hosts file.

This is cumbersome for multiple reasons

  • Errors when modifying the hosts file can cause system wide issues
  • It might interfere with other projects the developer is trying to run

@dmohns dmohns marked this pull request as ready for review February 21, 2024 15:07
@alchalade
Copy link
Contributor

If a developer struggles to add a hosts entry it's time to think alternative career paths.
I don't see any value by replacing the named local domain with local host.

@dmohns
Copy link
Member Author

dmohns commented Feb 21, 2024

If a developer struggles to add a hosts entry it's time to think alternative career paths.

Hehe 😉

I don't see any value by replacing the named local domain with local host.

FWIW it's one more step a developer needs to do to run the project.

Actually, it's the other way around: What is the value of using local domain that justifies an additional step? If there is any value then I'm fine of having this additional setup step. But I'm struggling to see the benefit.

@dmohns dmohns merged commit 1ad9517 into main Mar 21, 2024
8 checks passed
@dmohns dmohns deleted the run-local-without-hostsfile-modifications branch March 21, 2024 08:26
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