Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download and install ollama-webui:

    Code Block
    cd /home/vss-admin
    git clone https://github.com/ollama-webui/ollama-webui.git && cd ollama-webui/
  2. Create ollama-webui environment file: .env

    Code Block
    cp -RPp .env.example .env
  3. Install libraries and build the ollama-webui project

    Code Block
    npm i
    npm run build
  4. Install python3-pip and python3-venv:

    Code Block
    apt install python3-pip python3-venv
  5. Create virtual environment to isolate dependencies:

    Code Block
    cd ./backend
    python3 -m venv venv && . venv/bin/activate
  6. Install libraries and run the ollama backend

    Code Block
    cd ./backend
    pip install -r requirements.txt -U
    sh start.sh
  7. Test the UI application by opening a browser with the your servers ip address and port 8080:
    http://XXX.XXX.XXX.XXX:8080


  8. Select a model: llama2 and ask a message:

...