Skip to content

How to share your local site

Install a tunneling software like ngrok or CloudFlare's cli

Using ngrok with HTTPS

  1. Find ngrok credentials on LastPass and login.
  2. Find instructions under Getting Started > Setup & Installation. For config commands like ngrok config add-authtoken please add --config=ngrok.yml option to store ngrok config within the project.

Example

Use edges to connect to ngrok to use ngrok.interaction-design.org

bash
# Default APP_PORT is 8000
make ngrok

# Or specify a port
make ngrok APP_PORT=80

Make sure you update your .env file:

dotenv
APP_URL=https://ngrok.interaction-design.org
APP_DOMAIN=ngrok.interaction-design.org
SESSION_DOMAIN=.interaction-design.org
UI_KIT_HOST=ui-kit.ngrok.interaction-design.org
ASSET_URL=https://ngrok.interaction-design.org

# Optional
GOOGLE_TAG_MANAGER_DOMAIN=ngrok.interaction-design.org/metrics