Last active
December 15, 2015 09:29
-
-
Save rhysyngsun/5238963 to your computer and use it in GitHub Desktop.
Only tested for OSX. Run grails with https and bind to your machine's current ip. Be sure to substitute "en1" with the correct network interface.
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
# Only tested for OSX | |
# Substitute 'en1' with the correct network interface | |
alias ip='ifconfig en1 | grep inet | grep -v inet6 | cut -d " " -f 2' | |
# run this alias | |
alias grasip='grails run-app -https -Dserver.host=$(ip)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment