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>
This commit is contained in:
22
run.sh
Executable file
22
run.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user