3 Setup
EGM edited this page 2026-10-07 19:56:06 +00:00

Setup

First clone the repo into a folder of your choise

git clone https://git.farni.ng/fdericks/Farning-Code.git
cd Farning-Code

then install uv


SSH Keys

then in a terminal create an ssh key for commiting to the repo

Bash:

ssh-keygen -t ed25519 -C "farning-code" -f ~/.ssh/id_ed25519_farning
cat ~/.ssh/id_ed25519_farning.pub

Powershell:

ssh-keygen -t ed25519 -C "farning-code" -f "$env:USERPROFILE\.ssh\id_ed25519_farning"
cat "$env:USERPROFILE\.ssh\id_ed25519_farning.pub"

then on Farning-Code go User/Settings/SSH GPG- Schlüssel "Schlüssel Hinzufügen" and copy your ssh key into the correct box exaple:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExamplePublicKeyReplaceWithYourOwnKey12345

Setup in VSCode

then copy test_config.json and rename the new file to config.json if you have your own api key add all your details if not ask Fabi

if he gives you accsess to his website open it create under Virtural Keys a new Key with default settings:

Team: Mittwoch
Key Name: Name + Pc oder so 
Select Models: All Team Models
Key Type: AI APIs 

then copy the key and add it to the config like this:

{
    "API_KEY": "sk-yourApiKeyHehe-w",
    "API_HOST": "https://llm.platform4.me/",
    "MODEL": "qwen2.5-coder-7b-instruct-mlx",
    "IGNORE_FOLDERS": [".git", "__pycache__", ".venv", ".ruff_cache"],
    "AI": "openai"
}

now to test it under source control/More Actions.../ Checkout to... then coose the origin/ui branch

after that do

cd CLI
uv sync
uv run main.py