Skip to content

Instantly share code, notes, and snippets.

@fadilxcoder
Last active December 12, 2023 16:46
Show Gist options
  • Save fadilxcoder/a0b8f8be784540f6750e29b38550ba3f to your computer and use it in GitHub Desktop.
Save fadilxcoder/a0b8f8be784540f6750e29b38550ba3f to your computer and use it in GitHub Desktop.
./installer.sh
.PHONY: install-sqlite install-ngrok install-proxy launch serveo install
install-sqlite:
sudo apt-get install php7.4-sqlite3
install-ngrok:
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
&& echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list \
&& sudo apt update \
&& sudo apt install ngrok
install-proxy:
npm i -g http-server \
&& npm i -g localtunnel
launch:
http-server acetream/ -p 8787
serveo:
ssh -R fifa:80:localhost:8787 serveo.net
install: install-sqlite install-ngrok install-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment