Skip to content

Comments

Configure hosts file when installing NRO version#49

Merged
comzeradd merged 1 commit intogreenpeace:mainfrom
stduerre:hosts-file-update-nros
Dec 18, 2024
Merged

Configure hosts file when installing NRO version#49
comzeradd merged 1 commit intogreenpeace:mainfrom
stduerre:hosts-file-update-nros

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