diff --git a/README.md b/README.md index 1b3db33..e78a3eb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +# Valet + +run `npm run build` and cd into build folder and run `valet link ollama-webui` + +# Proxy setup for HTTP + +run `valet proxy ollama.test http://localhost:11434 --secure` +allow CORS with `launchctl setenv OLLAMA_ORIGINS "https://ollama.test"` restart app + # Ollama Web UI Lite 🦙 Ollama Web UI Lite is a streamlined version of [Ollama Web UI](https://github.com/ollama-webui/ollama-webui), designed to offer a simplified user interface with minimal features and reduced complexity. The primary focus of this project is on achieving cleaner code through a full TypeScript migration, adopting a more modular architecture, ensuring comprehensive test coverage, and implementing a robust CI/CD pipeline. @@ -20,7 +29,7 @@ We are committed to maintaining this repository and progressively working throug Before proceeding with the installation, ensure that you have the following prerequisites: -- Ollama (see [here](https://ollama.ai/)) running at http://localhost:11434/api. +- Ollama (see [here](https://ollama.ai/)) running at http://localhost:11434/api. - Node.js - npm diff --git a/package.json b/package.json index 68f4791..d81fb8a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "private": true, "scripts": { - "dev": "vite dev --host --port 3000", + "dev": "vite dev --host --port 3100", "build": "vite build", "fmt": "npm run prettier:svelte && npm run prettier", "prettier:svelte": "npx -p prettier@2 -- prettier --plugin-search-dir . --write .", diff --git a/src/app.html b/src/app.html index f5b6afd..0c337a8 100644 --- a/src/app.html +++ b/src/app.html @@ -4,7 +4,15 @@ - + + + + + +