Skip to content

Commit c6d258c

Browse files
authored
Update README.md to include how to deploy on Vercel
1 parent 2d2eca2 commit c6d258c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,17 @@ To use the web interface, these requisites must be met:
4040
1. Download [Ollama](https://ollama.com/download) and have it running. Or run it in a Docker container. Check the [docs](https://github.com/ollama/ollama) for instructions.
4141
2. Node.js (18+) and npm is required. [Download](https://nodejs.org/en/download)
4242

43-
# Installation 📖
43+
# Deploy your own to Vercel in one click ✨
44+
45+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjakobhoeg%2Fnextjs-ollama-llm-ui&env=NEXT_PUBLIC_OLLAMA_URL&envDescription=Your%20Ollama%20URL)
46+
47+
You'll need to set your [OLLAMA_ORIGINS](https://github.com/ollama/ollama/blob/main/docs/faq.md) environment variable on your machine that is running Ollama:
48+
49+
```
50+
OLLAMA_ORIGINS="https://your-app.vercel.app/"
51+
```
52+
53+
# Installation to run locally 📖
4454

4555
To install and run a local environment of the web interface, follow the instructions below.
4656

0 commit comments

Comments
 (0)