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

Allows webpack to work with kobo-install when it doesn't run from the host OS. #2042

Merged
merged 2 commits into from
Nov 5, 2018

Conversation

noliveleger
Copy link
Contributor

With kobo-install ip address is not used anymore. It only uses a fake domain name which is added to /etc/hosts.
I'm running docker in linux VM and using the browser from macOS, so webpack sees localhost as the host OS, not the virtual machine.
This PR allows webpack to bind all ips on port 3000 (not only localhost) and points the its web server to good IP thanks to the fake domain name.

@magicznyleszek :
it should work in kobo-docker from master or kobo-install branches. Do you see any potential issues to do this? Can you test it?

@jnm:
I added you too as a reviewer because of a small python change in configuration where RAVEN is not enabled.

Copy link
Member

@magicznyleszek magicznyleszek left a comment

Choose a reason for hiding this comment

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

Works on my machine 👍

@noliveleger
Copy link
Contributor Author

@magicznyleszek, thanks :-)

@jnm jnm merged commit 550dc43 into master Nov 5, 2018
@jnm jnm deleted the kobo-install-web-pack-compliant branch November 5, 2018 18:50
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