Skip to content

Commit 470914c

Browse files
committed
Add ngrok install for local<->public tunneling
1 parent 2b987bb commit 470914c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

machine-setup.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,21 @@ __install_to_HOME_bin_and_local_python_things() {
168168
which virtualenvwrapper.sh || pip3 install virtualenvwrapper
169169
}
170170

171+
__install_to_HOME_bin_ngrok() {
172+
if ! which ngrok > /dev/null
173+
then cd "$HOME/Downloads"
174+
curl https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o "./ngrok-stable-linux-amd64.zip"
175+
unzip "./ngrok-stable-linux-amd64.zip"
176+
mv "./ngrok" "$HOME/bin/ngrok"
177+
fi
178+
}
179+
171180
install_to_HOME_bin() {
172181
mkdir -p "$HOME/bin"
173182
__install_to_HOME_bin_youtube_dl
174183
__install_to_HOME_bin_clojure_things
175184
__install_to_HOME_bin_and_local_python_things
185+
__install_to_HOME_bin_ngrok
176186
}
177187

178188
#

0 commit comments

Comments
 (0)