Initial commit: Notes Manager App (notes.braetter-int.de)

- Python/Flask Backend
- SQLAlchemy Models (notes, tasks, templates, users)
- Gunicorn + Nginx Deploy-Konfiguration
- Static Assets (CSS/JS)
- Jinja2 Templates
This commit is contained in:
2026-04-15 09:28:33 +02:00
commit 5c7ce5d0ca
24 changed files with 1666 additions and 0 deletions

22
install_local.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
APP_DIR="/opt/notesmanager"
PYTHON_BIN="python3"
sudo mkdir -p "$APP_DIR"
sudo cp -r ./* "$APP_DIR/"
cd "$APP_DIR"
$PYTHON_BIN -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
cat <<'MSG'
Installation abgeschlossen.
Starten mit:
cd /opt/notesmanager
source .venv/bin/activate
python run.py
MSG