-
Notifications
You must be signed in to change notification settings - Fork 34
Ngrok
Ngrok (pronounced en-grok) is a useful tool for making your local Totara site accessible publicly on the web. This is especially handy when testing intergrations with Totara, such as the mobile app, or external services such as Microsoft Teams, LinkedIn Learning, or even if you simply want to make your site available for someone else to look at.
You will first need to sign up for an account, and then install and authenticate ngrok on your machine. You will also need to make sure that the ngrok
command can be run normally - this may require adding your ngrok installation directory to your $PATH
variable.
The easiest way to set up ngrok for use with Totara is to simply use the example config.php
that is provided with this repo in your sites.
You will then need to make sure your /etc/hosts
file is up to date with your site definitions. You can update your /etc/hosts
file automatically by running the tool/set_hosts.sh
script.
Once ngrok is set up, you can use the tngrok
command to use it with Totara.
Copyright (c) 2025 Totara Learning Solutions Limited