From 2b55d602b1978760ebd63f48d206bca058e69665 Mon Sep 17 00:00:00 2001 From: yihong1120 Date: Thu, 11 Jul 2024 00:48:28 +0800 Subject: [PATCH] Add manual --- examples/streaming_web/READMD-zh-tw.md | 11 ++++++----- examples/streaming_web/README.md | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/streaming_web/READMD-zh-tw.md b/examples/streaming_web/READMD-zh-tw.md index 8d2ce43..89d53a9 100644 --- a/examples/streaming_web/READMD-zh-tw.md +++ b/examples/streaming_web/READMD-zh-tw.md @@ -4,17 +4,18 @@ ## 使用方式 -1. **安裝依賴項:** +1. **啟動伺服器:** ```sh - pip install -r requirements.txt + python app.py ``` -2. **啟動伺服器:** + 或是 + ```sh - python app.py + gunicorn -w 1 -k eventlet -b 127.0.0.1:8000 "examples.streaming_web.app:app" ``` -3. **打開您的網頁瀏覽器並導航至:** +2. **打開您的網頁瀏覽器並導航至:** ```sh http://localhost:8000 ``` diff --git a/examples/streaming_web/README.md b/examples/streaming_web/README.md index ff3a00b..ed6a2e6 100644 --- a/examples/streaming_web/README.md +++ b/examples/streaming_web/README.md @@ -4,17 +4,18 @@ This section provides an example implementation of a Streaming Web application, ## Usage -1. **Install dependencies:** +1. **Run the server:** ```sh - pip install -r requirements.txt + python app.py ``` -2. **Run the server:** + or + ```sh - python app.py + gunicorn -w 1 -k eventlet -b 127.0.0.1:8000 "examples.streaming_web.app:app" ``` -3. **Open your web browser and navigate to:** +2. **Open your web browser and navigate to:** ```sh http://localhost:8000 ```