-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨(script:dev) allow to set (or guess) local IP address
In the bin/dev script, instead of listing all interfaces with the hostname -I command (that is not compatible with at least MacOSX) and take the first IP address as the OPENSHIFT_DOMAIN, we now test all IP addresses of all interfaces and set the first one with access to the internet has the OPENSHIFT_DOMAIN. Plus, we now allow to set the OPENSHIFT_DOMAIN IP address as a script argument, hence, MacOSX users can now use the bin/dev script as follow: bin/dev 192.168.1.10 (with 192.168.1.10 as their local IP address that has access to the internet)
- Loading branch information
Showing
2 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters