mirror of
https://github.com/zhinianboke/xianyu-auto-reply.git
synced 2025-08-29 17:17:38 +08:00
16 lines
407 B
Bash
16 lines
407 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "🚀 启动闲鱼自动回复系统..."
|
|
echo "📊 数据库将在应用启动时自动初始化..."
|
|
echo "🎯 启动主应用..."
|
|
|
|
# 确保数据目录存在
|
|
mkdir -p /app/data /app/logs /app/backups /app/static/uploads/images
|
|
|
|
# 设置目录权限
|
|
chmod 777 /app/data /app/logs /app/backups /app/static/uploads /app/static/uploads/images
|
|
|
|
# 启动主应用
|
|
exec python Start.py
|