Skip to content

tvranjes/magento2-ngrok-expose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Magento 2 ngrok expose

Usage:

git clone https://github.com/tvranjes/magento2-ngrok-expose.git
chmod +x magento2-ngrok-expose/ngrok-expose
sudo cp magento2-ngrok-expose/ngrok-expose /usr/local/bin/
source $HOME/.bashrc

Make sure Your Magento 2 instance is properly installed, Your web server and DB server is running and You have PHP CLI properly set.

Navigate to Your Magento 2 root

To start your ngrok expose:

ngrok-expose start

On the first run, script will check if ngrok and n98-magerun2 is properly installed.

If something is missing, the script will attempt to install it. You will be asked for sudo password to set ngrok and n98-magerun2.

When promted, enter Your ngrok api token.

To stop ngrok exposure:

ngrok-expose stop

About

Magento 2 ngrok expose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages