mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
30 lines
1.3 KiB
Markdown
30 lines
1.3 KiB
Markdown
|
|
# Ngrok Installation
|
||
|
|
|
||
|
|
To use Ngrok for tunneling your local server to the internet, follow these steps:
|
||
|
|
|
||
|
|
## Sign up
|
||
|
|
|
||
|
|
1. Go to https://ngrok.com/ and sign up for an account.
|
||
|
|
|
||
|
|
## Docker Installation
|
||
|
|
|
||
|
|
1. Copy your auth token from https://dashboard.ngrok.com/get-started/your-authtoken.
|
||
|
|
2. Open a terminal and run the following command: `docker run -d -it -e NGROK_AUTHTOKEN=<your token> ngrok/ngrok http 80`
|
||
|
|
|
||
|
|
## Windows Installation
|
||
|
|
|
||
|
|
1. Download the ZIP file from https://ngrok.com/download.
|
||
|
|
2. Extract the contents of the ZIP file using 7zip or WinRar.
|
||
|
|
3. Run `ngrok.exe`.
|
||
|
|
4. Copy your auth token from https://dashboard.ngrok.com/get-started/your-authtoken.
|
||
|
|
5. In the `ngrok.exe` terminal, run the following command: `ngrok config add-authtoken <your token>`
|
||
|
|
6. If you haven't done so already, start LibreChat normally.
|
||
|
|
7. In the `ngrok.exe` terminal, run the following command: ngrok http 3080
|
||
|
|
|
||
|
|
You will see a link that can be used to access LibreChat.
|
||
|
|

|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
Please note that this readme assumes some prior knowledge and familiarity with the command line, Docker, and running applications on your local machine. If you have any issues or questions, refer to the Ngrok documentation or open an issuee on our [Discord server](https://discord.gg/NGaa9RPCft)
|