Files
linkvault/run.sh
Erik Thiele 47685f0d34 Initial commit: LinkVault – KI-gestützte Link-Sammlung
FastAPI + HTMX Web-App zum Speichern von Links mit automatischer
KI-Kategorisierung, Zusammenfassung und semantischer Suche (OpenAI).
Mehrbenutzer mit Login, SQLite-Persistenz, Docker/Docker-Compose-Setup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 22:07:05 +02:00

23 lines
557 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
if [ ! -d .venv ]; then
echo "==> Erstelle virtuelle Umgebung..."
python3 -m venv .venv
fi
source .venv/bin/activate
echo "==> Installiere Abhängigkeiten..."
pip install -q --upgrade pip
pip install -q -r requirements.txt
if [ ! -f .env ]; then
echo "==> Keine .env gefunden kopiere .env.example nach .env"
cp .env.example .env
echo " Bitte trage in .env deinen OPENAI_API_KEY ein."
fi
echo "==> Starte LinkVault auf http://127.0.0.1:8000"
exec uvicorn app.main:app --reload --port 8000