docs: Update README.md (#428)

This commit is contained in:
Wendong-Fan 2025-04-04 07:25:50 +08:00 committed by GitHub
commit 0f7f5262e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 12 deletions

View File

@ -259,10 +259,10 @@ pip install -r requirements.txt --use-pep517
```bash
# This option downloads a ready-to-use image from Docker Hub
# Fastest and recommended for most users
docker-compose up -d
docker compose up -d
# Run OWL inside the container
docker-compose exec owl bash
docker compose exec owl bash
cd .. && source .venv/bin/activate
playwright install-deps
xvfb-python examples/run.py
@ -276,10 +276,10 @@ xvfb-python examples/run.py
# 2. Comment out the "image: mugglejinx/owl:latest" line
# 3. Uncomment the "build:" section and its nested properties
# 4. Then run:
docker-compose up -d --build
docker compose up -d --build
# Run OWL inside the container
docker-compose exec owl bash
docker compose exec owl bash
cd .. && source .venv/bin/activate
playwright install-deps
xvfb-python examples/run.py
@ -560,6 +560,9 @@ python owl/webapp_zh.py
# Start the English version
python owl/webapp.py
# Start the Japanese version
python owl/webapp_jp.py
```
## Features

View File

@ -294,10 +294,10 @@ cp owl/.env_template owl/.env
```bash
# このオプションはDocker Hubから即使用可能なイメージをダウンロードします
# 最速であり、ほとんどのユーザーに推奨されます
docker-compose up -d
docker compose up -d
# コンテナ内でOWLを実行
docker-compose exec owl bash
docker compose exec owl bash
cd .. && source .venv/bin/activate
playwright install-deps
xvfb-python examples/run.py
@ -311,10 +311,10 @@ xvfb-python examples/run.py
# 2. "image: mugglejinx/owl:latest"行をコメントアウト
# 3. "build:"セクションとそのネストされたプロパティをコメント解除
# 4. 次に実行:
docker-compose up -d --build
docker compose up -d --build
# コンテナ内でOWLを実行
docker-compose exec owl bash
docker compose exec owl bash
cd .. && source .venv/bin/activate
playwright install-deps
xvfb-python examples/run.py
@ -544,6 +544,9 @@ python owl/webapp_zh.py
# 英語版を起動
python owl/webapp.py
# 日本語版を起動
python owl/webapp_jp.py
```
## 機能

View File

@ -295,10 +295,10 @@ cp owl/.env_template owl/.env
```bash
# 此选项从Docker Hub下载一个即用型镜像
# 最快速且推荐给大多数用户
docker-compose up -d
docker compose up -d
# 在容器中运行OWL
docker-compose exec owl bash
docker compose exec owl bash
cd .. && source .venv/bin/activate
playwright install-deps
xvfb-python examples/run.py
@ -312,10 +312,10 @@ xvfb-python examples/run.py
# 2. 注释掉"image: mugglejinx/owl:latest"行
# 3. 取消注释"build:"部分及其嵌套属性
# 4. 然后运行:
docker-compose up -d --build
docker compose up -d --build
# 在容器中运行OWL
docker-compose exec owl bash
docker compose exec owl bash
cd .. && source .venv/bin/activate
playwright install-deps
xvfb-python examples/run.py
@ -543,6 +543,9 @@ python owl/webapp_zh.py
# 英文版本
python owl/webapp.py
# 日文版本
python owl/webapp_jp.py
```
网页界面提供以下功能: