janhq / cortex.cpp

Local AI API Platform
https://cortex.so
Apache License 2.0
2.14k stars 127 forks source link

idea: Linux Installation Script (Bash) #1670

Open gabrielle-ong opened 1 week ago

gabrielle-ong commented 1 week ago

Problem Statement

Feature Idea

Considerations:

hiento09 commented 1 week ago

For bash installer script it will be a network installer, not local install

hiento09 commented 1 week ago

Current Updater Flow for Linux

Suggested Flow with Bash Script

The installation bash script will perform the following tasks (all logic for update will be put into the bash script):

How do you think @dan-homebrew @0xSage @gabrielle-ong @vansangpfiev

TC117 commented 1 day ago
Prerequisites
- OpenMPI
- curl
- jq
- tar
gabrielle-ong commented 15 hours ago

@hiento09 Thanks! Adding a discord User @david_12870 report: "#Cortex-help: Install script fails on alma linux 9.4":

Error:

Failed to get JSON from https://api.github.com/repos/janhq/cortex.llamacpp/releases/latest: CURL request failed: Problem with the SSL CA cert (path? access rights?) - curl_utils.h:216
20241122 10:51:28.470110 UTC 558641 ERROR Failed to get latest llama.cpp version: CURL request failed: Problem with the SSL CA cert (path? access rights?

Fix: