Skip to content
Marie-Louise edited this page Oct 5, 2018 · 3 revisions

downloaded the zip file, unzipped it register on the site click on dashboard after logging in which will give a command to login (with an authentication key)

./ngrok authtoken 73Rmzpr6qY9R1U1kzShFw_7FZtcxrbSrEGwuavRSAzT

this creates an ngrok.yml file which communicates the setup of the local environment. (syncing the local file with ngrok in the same way that github needs to authenticate the repos.

its necessary to run this command each time i would like to launch my site:

 ./ngrok http -host-header=rewrite corporate.drupalvm:80

This will create a URL, i need to use the http or https

ngrok by @inconshreveable (Ctrl+C to quit)

Session Status online
Account Marie-Louise Annan (Plan: Free)
Version 2.2.8
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding http://f5e138a0.ngrok.io -> corporate.drupalvm:80 Forwarding https://f5e138a0.ngrok.io -> corporate.drupalvm:80

Connections ttl opn rt1 rt5 p50 p90
20 0 0.00 0.01 5.07 11.43

HTTP Requests

then copy http address, the put that inside the settings.php file and add the url :

$base_url = 'http://f5e138a0.ngrok.io'; 

make sure after you finish testing, either remove the line or comment it out

THESE FEW STAGES ARE FOR DRUPAL

Clone this wiki locally