...
This commit is contained in:
6
start.sh
6
start.sh
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Change to the script's directory to ensure relative paths work
|
||||
cd "$(dirname "$0")"
|
||||
echo "=============================================="
|
||||
echo "Markdown Editor v3.0 - WebDAV Server"
|
||||
echo "=============================================="
|
||||
@@ -16,5 +19,8 @@ echo "Activating virtual environment..."
|
||||
source .venv/bin/activate
|
||||
echo "Installing dependencies..."
|
||||
uv pip install wsgidav cheroot pyyaml
|
||||
PORT=8004
|
||||
echo "Checking for process on port $PORT..."
|
||||
lsof -ti:$PORT | xargs -r kill -9
|
||||
echo "Starting WebDAV server..."
|
||||
python server_webdav.py
|
||||
|
||||
Reference in New Issue
Block a user