User Tools

Site Tools


software_installation

This is an old revision of the document!


Getting Started

Software installation

Presumptions:
  • You have installed Docker and maybe Portainer. The host machine has a fixed IP (Static or DHCP reservation). Note this IP address down

  • You have a working Ollama installation and a suitable LLM pulled. From the CLI (command line interface) in a terminal you may have typed ollama run llama2-uncensored which will automatically pull the model and run it. This as well will require a fixed IP.

Installation:
  • In your home directory open your Editor of choice, I use nano in linux, NetworkChuck tells me it is the best, BTW to copy code in the block just click on it.
    nano ~/.bashrc

    , add these two lines:

    export PUID=$(id -u)
    export PGID=$(id -g) 
  • CNTL X, Y to save.
  • From your home directory, type mkdir avadroid, then, cd avadroid. now, type, mkdir <name of your AvaDroid>, example: “mkdir cath”, cd into this directory, example “cd cath” (Without the quotation marks).

  • You should now be in the directory avadroid\<Name>\
    Example avadroid\cath\

  • Next with your favourite editor, on linux I use Nano, create to edit a file called “compose.yml”
    Example nano compose.yml

  • Cut and Paste the below:
    services:
      corrade:
        image: wizardrysteamworks/corrade
        container_name: anne-corrade
        ports:
          - "19001:54377"
          - "17001:1883"
        volumes:
          - ./corrade:/etc/corrade/
        environment:
          - TZ=US/Pacific
        networks:
          - anne-net
        restart: unless-stopped
     
      avadroid:
        image: vk6xre/avadroid:latest
        container_name: anne-avadroid
        user: "${PUID}:${PGID}"
        ports:
          - "18001:5001"
        volumes:
          - ./bot:/app/bot
        environment:
          - TZ= US/Pacific
        networks:
          - anne-net
        depends_on:
          - corrade
        restart: unless-stopped
     
    networks:
      anne-net:
        driver: bridge
  • We have to edit this file to suit your system.
  • First: Where you see anne replace anne with the name of your AvaDroid, Example if your Avadroid is named “fred” change:

    container_name: anne-corrade to container_name: fred-corrade
    container_name: anne-avadroid to container_name: fred-avadroid
    - anne-net to - fred-net
software_installation.1766917053.txt.gz · Last modified: by robyn