Hello! I'm using box-ngrok and I've gotten to a p...
# box-products
j
Hello! I'm using box-ngrok and I've gotten to a point where things have started up okay, but ngrok is saying that I need to set my auth token to continue using it. Where would I be able to do this with box-ngrok? I didn't see any commands in the readme for this and I can't find an ngrok.yaml file in my project to set my auth token there.
1
j
I haven't done this in a while, but I believe you need to set up ngrok separately using the command line. Once it's configured, the module can use it.
j
Gotcha. The ngrok website has commandline instructions for doing something like this:
Copy code
ngrok config add-authtoken *my authtoken here*
However it looks like windows isn't recognizing this as a valid cmdlet.
j
are you running it from the folder where ngrok.exe is stored?
j
Good question. I was running in my server's directory. ngrok.exe doesn't look like it's there. I'll search for it.
j
You may need to add the folder to your system path as well
j
Solved this! The box-ngrok module is saved under commandbox instead of the local server's modules. ngrok-windows.exe should be in ~\.Commandbox\cfml\modules\box-ngrok\bin.
In that directory, I ran: ngrok-windows.exe config add-authtoken my-auth-token-here
💥 1
g
j
Thanks Gary!