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

Configure hosts file when installing NRO version #49

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

stduerre
Copy link
Contributor

Adds checking for hosts configuration in the nro:install script and adds it if missing.

Without this, the hosts file is not updated for NRO developers if they directly install their NRO version. The result is, that the website is not available locally from the domain www.planet4.test.

Adds checking for hosts configuration in the nro:install script and adds it if missing.
@stduerre
Copy link
Contributor Author

Tested in my Ubuntu environment and it works as expected. Adds the lines

# Planet 4 local development environment
127.0.0.1       www.planet4.test

to /etc/hosts if they aren't there yet.

@comzeradd comzeradd merged commit a352778 into greenpeace:main Dec 18, 2024
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