From 8fb3c06274d458efbfbb335976bd7292f55fd776 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Sun, 6 Oct 2024 10:33:34 +0200 Subject: [PATCH 01/34] Update README.md --- docs/architecture/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/architecture/README.md b/docs/architecture/README.md index 7fa3bc16..7918f727 100644 --- a/docs/architecture/README.md +++ b/docs/architecture/README.md @@ -12,5 +12,5 @@ Devika's system architecture consists of the following key components: 8. **Knowledge Base**: Stores and retrieves project-specific information, code snippets, and learned knowledge for efficient access. 9. **Database**: Persists project data, agent states, and configuration settings. -Read [ARCHITECTURE.md](https://github.com/stitionai/devika/Docs/architecture/ARCHITECTURE.md) for the detailed architecture of Devika. -Read [UNDER_THE_HOOD.md](https://github.com/stitionai/devika/Docs/architecture/UNDER_THE_HOOD.md) for the detailed working of Devika. +Read [ARCHITECTURE.md](https://github.com/stitionai/devika/docs/architecture/ARCHITECTURE.md) for the detailed architecture of Devika. +Read [UNDER_THE_HOOD.md](https://github.com/stitionai/devika/docs/architecture/UNDER_THE_HOOD.md) for the detailed working of Devika. From cd227ab8080022a79f680d76f733639d79cacba7 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Sun, 6 Oct 2024 10:42:41 +0200 Subject: [PATCH 02/34] Update README.md --- docs/architecture/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/architecture/README.md b/docs/architecture/README.md index 7918f727..d81dbae1 100644 --- a/docs/architecture/README.md +++ b/docs/architecture/README.md @@ -12,5 +12,5 @@ Devika's system architecture consists of the following key components: 8. **Knowledge Base**: Stores and retrieves project-specific information, code snippets, and learned knowledge for efficient access. 9. **Database**: Persists project data, agent states, and configuration settings. -Read [ARCHITECTURE.md](https://github.com/stitionai/devika/docs/architecture/ARCHITECTURE.md) for the detailed architecture of Devika. -Read [UNDER_THE_HOOD.md](https://github.com/stitionai/devika/docs/architecture/UNDER_THE_HOOD.md) for the detailed working of Devika. +Read [ARCHITECTURE.md](https://github.com/stitionai/devika/blob/main/docs/architecture/ARCHITECTURE.md) for the detailed architecture of Devika. +Read [UNDER_THE_HOOD.md](https://github.com/stitionai/devika/blob/main/docs/architecture/UNDER_THE_HOOD.md) for the detailed working of Devika. From 61b9f8b9834822c41776b32d27921195b4163a11 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Sun, 6 Oct 2024 21:16:54 +0200 Subject: [PATCH 03/34] devika.py aktualisieren changed to CORS(app) --- devika.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/devika.py b/devika.py index 961b792a..d96e0be2 100644 --- a/devika.py +++ b/devika.py @@ -26,11 +26,7 @@ app = Flask(__name__) -CORS(app, resources={r"/*": {"origins": # Change the origin to your frontend URL - [ - "https://localhost:3000", - "http://localhost:3000", - ]}}) +CORS(app) app.register_blueprint(project_bp) socketio.init_app(app) From 0f4c51fd3cad48ce49f2ec943aab23c7b23fe276 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:05:19 +0200 Subject: [PATCH 04/34] Update README.md --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 63c8961d..05fd0590 100644 --- a/README.md +++ b/README.md @@ -55,14 +55,18 @@ Read [**README.md**](docs/architecture) for the detailed documentation. ## Getting Started -### Requirements -``` -Version's requirements - - Python >= 3.10 and < 3.12 - - NodeJs >= 18 - - bun -``` - +- Python >= 3.10 and < 3.12 + + sudo apt update && sudo apt upgrade + + sudo apt install python3 python-is-python3 + +- NodeJs >= 18 Installation + + sudo apt install nodejs + node -v + +- bun Installation [bun installation](https://bun.sh/docs/installation#:~:text=Installing%20a%20specific%20version%20of%20Bun%20on%20Linux/Mac.%20To) - Install uv - Python Package manager [download](https://github.com/astral-sh/uv) - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) From 712082b6c7b76d701da362f7746bf794fbe78727 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:07:20 +0200 Subject: [PATCH 05/34] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 05fd0590..67c733a7 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,6 @@ Read [**README.md**](docs/architecture) for the detailed documentation. sudo apt install nodejs node -v -- bun Installation [bun installation](https://bun.sh/docs/installation#:~:text=Installing%20a%20specific%20version%20of%20Bun%20on%20Linux/Mac.%20To) - Install uv - Python Package manager [download](https://github.com/astral-sh/uv) - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) From e3503633985f7f110a4d33e13d58bab837533de9 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:18:48 +0200 Subject: [PATCH 06/34] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 67c733a7..ac13cf6b 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - NodeJs >= 18 Installation sudo apt install nodejs + node -v - Install uv - Python Package manager [download](https://github.com/astral-sh/uv) From 8f1aadc3e06fb1ada7962b1a2bf07807105cee46 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:21:38 +0200 Subject: [PATCH 07/34] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ac13cf6b..987fd261 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,10 @@ Read [**README.md**](docs/architecture) for the detailed documentation. node -v +- Pip Installation + + sudo apt install python3-pip + - Install uv - Python Package manager [download](https://github.com/astral-sh/uv) - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) From 822b9a001b233fdcea7d905f78869be4eb5daa07 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:23:09 +0200 Subject: [PATCH 08/34] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 987fd261..dddd9d2b 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,9 @@ Read [**README.md**](docs/architecture) for the detailed documentation. sudo apt install python3-pip - Install uv - Python Package manager [download](https://github.com/astral-sh/uv) + + $ pip install uv + - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) - For API models, configure the API keys via setting page in UI. From d01c5c76746ef0f0573c75995de1229806a08a5d Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:29:09 +0200 Subject: [PATCH 09/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index dddd9d2b..fbac41ef 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. node -v - Pip Installation + + python3 -m pip config set global.break-system-packages true sudo apt install python3-pip From 9b4866647beb703c717438c0d72d3229919672f7 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:31:30 +0200 Subject: [PATCH 10/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fbac41ef..eb7454be 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - Pip Installation python3 -m pip config set global.break-system-packages true + + als Alternative im uv pip installieren ??? sudo apt install python3-pip From d4cfbb5322caceb8be8df036c97b2d1213db5c53 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:42:44 +0200 Subject: [PATCH 11/34] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index eb7454be..e7d0ae3f 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) + ollama run llama3.2 - For API models, configure the API keys via setting page in UI. From cf965f32889753c24201ae5863dc9b9d9e5b346a Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:43:52 +0200 Subject: [PATCH 12/34] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e7d0ae3f..e3ed9f4e 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,11 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) + + sudo snap install ollama + ollama run llama3.2 + - For API models, configure the API keys via setting page in UI. From 9855bbd5720524c617ed4a8fa87d560c0fe9a190 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:44:44 +0200 Subject: [PATCH 13/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e3ed9f4e..d43d679d 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - For API models, configure the API keys via setting page in UI. + without <> + ### Installation From b274a70e04148ba154c19a2829a1ea04020f8120 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:49:20 +0200 Subject: [PATCH 14/34] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d43d679d..8350859c 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - For API models, configure the API keys via setting page in UI. - without <> + Keys without <> + ### Installation From 614eb316c67e51ed81d4ede3c2feeac038341160 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:55:28 +0200 Subject: [PATCH 15/34] Update devika.py --- devika.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devika.py b/devika.py index d96e0be2..f1baa71e 100644 --- a/devika.py +++ b/devika.py @@ -32,7 +32,7 @@ log = logging.getLogger("werkzeug") -log.disabled = True +log.disabled = False TIKTOKEN_ENC = tiktoken.get_encoding("cl100k_base") From 66de63e2c594d1e99a43b5fd243a1d68dfd3b21a Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:25:57 +0200 Subject: [PATCH 16/34] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 8350859c..f439966c 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,19 @@ To install Devika, follow these steps: ``` 8. Access the Devika web interface by opening a browser and navigating to `http://127.0.0.1:3001` +9. Install xterm in wsl + + sudo apt install xterm + +10. Windows run Xming Server from http://www.straightrunning.com/XmingNotes/#head-16 + + xterm + +11. Install Code + + sudo snap install --classic code + + ### how to use To start using Devika, follow these steps: From 12883d4c04caba4bcdc35ef0a251d8f2adb885c5 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:29:11 +0200 Subject: [PATCH 17/34] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f439966c..84abee0a 100644 --- a/README.md +++ b/README.md @@ -142,9 +142,15 @@ To install Devika, follow these steps: 10. Windows run Xming Server from http://www.straightrunning.com/XmingNotes/#head-16 - xterm +11. Change Fontsize in xterm + + vi ~./Xresources + + xterm*font: *-fixed-*-*-*-18-* + + run xrdb -merge ~/.Xresources -11. Install Code +14. Install Code sudo snap install --classic code From 2106a6f92a9e2adddf6a3bc3b535419cb7aab3e8 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:31:03 +0200 Subject: [PATCH 18/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84abee0a..44595535 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,8 @@ To install Devika, follow these steps: 10. Windows run Xming Server from http://www.straightrunning.com/XmingNotes/#head-16 11. Change Fontsize in xterm + + sudo apt install x11-xserver-utils vi ~./Xresources From 74da6a2a7cddfda3d9d7c313e1eec7dff3e415e6 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:13:30 +0200 Subject: [PATCH 19/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 44595535..1750d3f7 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) + sudo apt install snap + sudo snap install ollama ollama run llama3.2 From 6a2e14dd5a44ee67b6843ef797e6e21a02dfc5c8 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:14:14 +0200 Subject: [PATCH 20/34] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1750d3f7..98b5a81b 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) - sudo apt install snap + sudo apt install snapd sudo snap install ollama From 594dae611726c3c9283d0cebe9142139581b82e5 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:26:51 +0200 Subject: [PATCH 21/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 98b5a81b..1f818bf9 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. node -v - Pip Installation + + sudo apt install pip python3 -m pip config set global.break-system-packages true From 3023d61fb4d8a2796e5bbfa375a1cb21beeb9743 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:28:39 +0200 Subject: [PATCH 22/34] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1f818bf9..0dde72ba 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - NodeJs >= 18 Installation sudo apt install nodejs + + sudo apt install npm node -v From 9d5b942c9b706b04d99c3dcfbc5f5d1e9d0d02b0 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:31:15 +0200 Subject: [PATCH 23/34] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0dde72ba..507b7e74 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Read [**README.md**](docs/architecture) for the detailed documentation. sudo apt install python3 python-is-python3 - NodeJs >= 18 Installation + [NodeJs >= 18 Installation](https://linuxconfig.org/how-to-install-node-js-on-ubuntu-24-04) sudo apt install nodejs From 9b7f97db97f798a29bbfa27e415d6be8292d8dde Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:03:21 +0200 Subject: [PATCH 24/34] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 507b7e74..0cd47ad5 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) sudo apt install snapd - - sudo snap install ollama + curl -fsSL https://ollama.com/install.sh | sh + ollama run llama3.2 - For API models, configure the API keys via setting page in UI. From 035c6d0dab461784e45bce9334a02211bcac0f7d Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:51:49 +0200 Subject: [PATCH 25/34] README.md aktualisieren --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 0cd47ad5..eefb3288 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,6 @@ Read [**README.md**](docs/architecture) for the detailed documentation. - Install bun - JavaScript runtime [download](https://bun.sh/docs/installation) - For ollama [ollama setup guide](docs/Installation/ollama.md) (optinal: if you don't want to use the local models then you can skip this step) - sudo apt install snapd - curl -fsSL https://ollama.com/install.sh | sh ollama run llama3.2 From 4ec321e35a63e00be5166e60ad2b6c42545a2d5e Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:15:06 +0200 Subject: [PATCH 26/34] Update requirements.txt --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 91666960..a0a18437 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,3 +31,5 @@ orjson gevent gevent-websocket curl_cffi +vite +shutils From 50de1976d723b127e686ef9293d07c70acdd77f9 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:22:11 +0200 Subject: [PATCH 27/34] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eefb3288..c7d2c520 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Read [**README.md**](docs/architecture) for the detailed documentation. curl -fsSL https://ollama.com/install.sh | sh - ollama run llama3.2 + ollama run llama3.2 llama3 gemma qwen qwen2 mistral phi3:14b phi3:3.8b codellama qwen2.5 llama2 gemma2 llama3.1:70b - For API models, configure the API keys via setting page in UI. From 237696cccf2a78b007277f53a3ef2ad2d1f7117d Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:27:36 +0200 Subject: [PATCH 28/34] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c7d2c520..993ad094 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,12 @@ Read [**README.md**](docs/architecture) for the detailed documentation. ## Getting Started +- Nvidia Driver installation + + https://linuxconfig.org/how-to-install-nvidia-drivers-on-ubuntu-24-04 + nvtop to see installed Nvidia Cards + - Python >= 3.10 and < 3.12 sudo apt update && sudo apt upgrade From 5a0b6e1cb63557f3a93f4c8f3c8708a7f84ed9ad Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:37:57 +0200 Subject: [PATCH 29/34] Update README.md --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 993ad094..0209cfa2 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,21 @@ Read [**README.md**](docs/architecture) for the detailed documentation. curl -fsSL https://ollama.com/install.sh | sh - ollama run llama3.2 llama3 gemma qwen qwen2 mistral phi3:14b phi3:3.8b codellama qwen2.5 llama2 gemma2 llama3.1:70b + ollama pull llama3.2 + ollama pull llama3 + ollama pull gemma + ollama pull qwen + ollama run qwen2 + ollama run mistral + ollama run phi3:14b + ollama run phi3:3.8b + ollama run codellama + ollama run qwen2.5 + ollama run llama2 + ollama run gemma2 + ollama run llama3.1:70b + + - For API models, configure the API keys via setting page in UI. From f4fdd762359eee1d7d8914b52b0386207735a25b Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:40:14 +0200 Subject: [PATCH 30/34] Update README.md --- README.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0209cfa2..8d4aa9b7 100644 --- a/README.md +++ b/README.md @@ -95,18 +95,30 @@ Read [**README.md**](docs/architecture) for the detailed documentation. curl -fsSL https://ollama.com/install.sh | sh ollama pull llama3.2 + ollama pull llama3 + ollama pull gemma + ollama pull qwen - ollama run qwen2 - ollama run mistral - ollama run phi3:14b - ollama run phi3:3.8b - ollama run codellama - ollama run qwen2.5 - ollama run llama2 - ollama run gemma2 - ollama run llama3.1:70b + + ollama pull qwen2 + + ollama pull mistral + + ollama pull phi3:14b + + ollama pull phi3:3.8b + + ollama pull codellama + + ollama pull qwen2.5 + + ollama pull llama2 + + ollama pull gemma2 + + ollama pull llama3.1:70b From e8aaeb251c2aef3792fd499d9f1d8a669c2aa5b4 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:56:19 +0200 Subject: [PATCH 31/34] Add files via upload Download Ollama Modell llama3.2 llama3.1 llama3 gemma qwen qwen2 mistral phi3:14b phi3:3.8b codellama qwen2.5 llama2 gemma2 llama3.1:70b --- get-ollama-modells.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 get-ollama-modells.sh diff --git a/get-ollama-modells.sh b/get-ollama-modells.sh new file mode 100644 index 00000000..c5e3ece6 --- /dev/null +++ b/get-ollama-modells.sh @@ -0,0 +1,43 @@ +#! /bin/bash +echo "/usr/local/bin/ollama pull llama3.2" +echo +/usr/local/bin/ollama pull llama3.2 +echo +echo "/usr/local/bin/ollama pull llama3.1" +/usr/local/bin/ollama pull llama3.1 +echo +echo "/usr/local/bin/ollama pull llama3" +/usr/local/bin/ollama pull llama3 +echo +echo "/usr/local/bin/ollama pull gemma" +/usr/local/bin/ollama pull gemma +echo +echo "/usr/local/bin/ollama pull qwen" +/usr/local/bin/ollama pull qwen +echo +echo "/usr/local/bin/ollama pull qwen2" +/usr/local/bin/ollama pull qwen2 +echo +echo "/usr/local/bin/ollama pull mistral" +/usr/local/bin/ollama pull mistral +echo +echo "/usr/local/bin/ollama pull phi3:14b" +/usr/local/bin/ollama pull phi3:14b +echo +echo "/usr/local/bin/ollama pull phi3:3.8b" +/usr/local/bin/ollama pull phi3:3.8b +echo +echo "/usr/local/bin/ollama pull codellama" +/usr/local/bin/ollama pull codellama +echo +echo "/usr/local/bin/ollama pull qwen2.5" +/usr/local/bin/ollama pull qwen2.5 +echo +echo "/usr/local/bin/ollama pull llama2" +/usr/local/bin/ollama pull llama2 +echo +echo "/usr/local/bin/ollama pull gemma2" +/usr/local/bin/ollama pull gemma2 +echo +echo "/usr/local/bin/ollama pull llama3.1:70b" +/usr/local/bin/ollama pull llama3.1:70b From 009575547051fbb32a37fddd4baa1ca74e7fe187 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:00:23 +0200 Subject: [PATCH 32/34] Update README.md --- README.md | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/README.md b/README.md index 8d4aa9b7..923dedb3 100644 --- a/README.md +++ b/README.md @@ -94,31 +94,7 @@ Read [**README.md**](docs/architecture) for the detailed documentation. curl -fsSL https://ollama.com/install.sh | sh - ollama pull llama3.2 - - ollama pull llama3 - - ollama pull gemma - - ollama pull qwen - - ollama pull qwen2 - - ollama pull mistral - - ollama pull phi3:14b - - ollama pull phi3:3.8b - - ollama pull codellama - - ollama pull qwen2.5 - - ollama pull llama2 - - ollama pull gemma2 - - ollama pull llama3.1:70b + ./get-ollama-models.sh From f41c4d91bd8beca3cc0e08d07da3eac39b19efe5 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:01:09 +0200 Subject: [PATCH 33/34] Rename get-ollama-modells.sh to get-ollama-models.sh --- get-ollama-modells.sh => get-ollama-models.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename get-ollama-modells.sh => get-ollama-models.sh (100%) diff --git a/get-ollama-modells.sh b/get-ollama-models.sh similarity index 100% rename from get-ollama-modells.sh rename to get-ollama-models.sh From abb0c21221603c25b645e36866a2c2515c287dd7 Mon Sep 17 00:00:00 2001 From: alexanderbehrens1978 <35383014+alexanderbehrens1978@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:49:58 +0200 Subject: [PATCH 34/34] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 923dedb3..2bc7f785 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ To install Devika, follow these steps: ``` 5. Start the Devika server: ```bash + npm install @sveltejs/adapter-node python devika.py ``` 6. if everything is working fine, you see the following output: