Add word-book practice, iOS app shell, and fix embedded WebView blank screen.
Ship dual-track learning (daily accumulation vs textbook),沪教/商务词书 APIs and UI, native iOS wrapper with bundled H5, and production book import on deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,6 +65,15 @@ Base.metadata.create_all(bind=engine)
|
||||
print("tables ready")
|
||||
PY
|
||||
|
||||
echo ">>> 导入词书目录(沪版 + 商务)"
|
||||
cd "$ROOT/backend"
|
||||
source venv/bin/activate
|
||||
if [ -d "$ROOT/backend/data/books" ] && ls "$ROOT/backend/data/books"/*.json >/dev/null 2>&1; then
|
||||
python -m scripts.import_word_books
|
||||
else
|
||||
echo "未找到 data/books/*.json,跳过词书导入"
|
||||
fi
|
||||
|
||||
echo ">>> 构建前端"
|
||||
cd "$ROOT/frontend"
|
||||
if ! command -v npm >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user