Skip to content

Commit 3befdc2

Browse files
committed
Update documentation to reflect use of uv in scaict-uwu/dev/maintain.md
Change-Id: Ie7cb46195ede9aae38181667fd5495c5ccafa024
1 parent bc4921a commit 3befdc2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/scaict-uwu/dev/maintain.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
sidebar_position: 3
3-
authors: [iach526526]
3+
authors: [iach526526, winstonsung]
44
slug: maintain
55
title: 維護、部署注意事項
66
description: 這 很 重 要!
@@ -19,13 +19,13 @@ description: 這 很 重 要!
1919
### 執行中電喵本體
2020

2121
```bash
22-
nohup python3 main.py &>/var/log/Bot_uwu/Log_$(date +%Y-%m-%dT%H-%M-%S).log&
22+
nohup uv run python3 main.py &> /var/log/Bot_uwu/Log_$(date +%Y-%m-%dT%H-%M-%S).log &
2323
```
2424

2525
### 中電商店
2626

2727
```bash
28-
nohup flask run &>/var/log/uwuStore/Log_$(date +%Y-%m-%dT%H-%M-%S).log&
28+
nohup uv run flask run &> /var/log/uwuStore/Log_$(date +%Y-%m-%dT%H-%M-%S).log &
2929
```
3030

3131
執行後 CLI 會顯示 Process ID,下面的例子是開啟了一個 Process ID 為 48763 的工作。這個 ID 是唯一的,用來辨別這個運行的工作。每次開啟服務後建議寫在記事本,下次關服務會比較好找到這個服務。

0 commit comments

Comments
 (0)