This commit is contained in:
ryan
2026-03-03 08:22:19 -05:00
parent 0e3684031b
commit 86cc269b3a
24 changed files with 1899 additions and 238 deletions

View File

@@ -3,8 +3,17 @@
echo "Running database migrations..."
aerich upgrade
echo "Starting reindex process..."
python main.py "" --reindex
# Ensure Obsidian vault directory exists
mkdir -p /app/data/obsidian
echo "Starting Flask application..."
# Start continuous Obsidian sync if enabled
if [ "${OBSIDIAN_CONTINUOUS_SYNC}" = "true" ]; then
echo "Starting Obsidian continuous sync in background..."
ob sync --continuous &
fi
echo "Starting reindex process in background..."
python main.py "" --reindex &
echo "Starting application..."
python app.py