Last active
August 16, 2021 22:28
-
-
Save dzuluaga/b9428ea1a1d1a3fb831c53cbf39316dd to your computer and use it in GitHub Desktop.
Runs localtunnel on GCP Cloud Shell in a single command.
This file contains hidden or 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
#!/usr/bin/env bash | |
# Runs localtunnel on GCP Cloud Shell in a single command. | |
# Run this script directly from the command line | |
# | |
# $ curl "https://gist.githubusercontent.com/dzuluaga/b9428ea1a1d1a3fb831c53cbf39316dd/raw/run-localtunnel-gcp-cloud-shell.sh?$(date +%s)" | bash | |
echo "Installing zsh..." | |
echo "" | |
npm install -g localtunnel | |
echo | |
echo 'run $ lt --port 8080 --subdomain your-subdomain-here' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment