This commit is contained in:
2025-10-26 07:17:49 +04:00
commit e41e49f7ea
23 changed files with 5070 additions and 0 deletions

20
start.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -e
echo "=============================================="
echo "Markdown Editor v3.0 - WebDAV Server"
echo "=============================================="
if ! command -v uv &> /dev/null; then
echo "Installing uv..."
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.cargo/bin:$PATH"
fi
if [ ! -d ".venv" ]; then
echo "Creating virtual environment..."
uv venv
fi
echo "Activating virtual environment..."
source .venv/bin/activate
echo "Installing dependencies..."
uv pip install wsgidav cheroot pyyaml
echo "Starting WebDAV server..."
python server_webdav.py