fix README.md

Modified to `docker composeV2` compatible commands
Added webapp_jp.py startup command
This commit is contained in:
shirochan
2025-03-28 11:28:31 +09:00
parent 118a8a98dc
commit 5ac76de4c9
3 changed files with 21 additions and 12 deletions

View File

@@ -300,10 +300,10 @@ cp owl/.env_template owl/.env
```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
@@ -317,10 +317,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
@@ -553,6 +553,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

@@ -293,10 +293,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
@@ -310,10 +310,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
@@ -541,6 +541,9 @@ python owl/webapp_zh.py
# 英文版本
python owl/webapp.py
# 日文版本
python owl/webapp_jp.py
```
网页界面提供以下功能: