mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 19:25:24 +00:00
docs: explain the three sub commands
This commit is contained in:
parent
820009ac06
commit
f42cd2f315
10
README.md
10
README.md
@ -257,4 +257,12 @@ To avoid affecting users' daily use, Pensieve has adopted the following optimiza
|
|||||||
|
|
||||||
## Development Guide
|
## Development Guide
|
||||||
|
|
||||||
to be continued
|
### Peeling the First Layer of the Onion
|
||||||
|
|
||||||
|
In fact, after Pensieve starts, it runs three programs:
|
||||||
|
|
||||||
|
1. `memos serve` starts the web service
|
||||||
|
2. `memos record` starts the screenshot recording program
|
||||||
|
3. `memos watch` listens to the image events generated by `memos record` and dynamically submits indexing requests to the server based on actual processing speed
|
||||||
|
|
||||||
|
Therefore, if you are a developer or want to see the logs of the entire project running more clearly, you can use these three commands to run each part in the foreground instead of the `memos enable && memos start` command.
|
||||||
|
10
README_ZH.md
10
README_ZH.md
@ -260,4 +260,12 @@ Pensieve 默认需要两个计算密集型的任务:
|
|||||||
|
|
||||||
## 开发指南
|
## 开发指南
|
||||||
|
|
||||||
to be continued
|
### 拨开第一层洋葱
|
||||||
|
|
||||||
|
事实上,Pensieve 启动之后,会运行三个程序:
|
||||||
|
|
||||||
|
1. `memos serve` 启动 Web 服务
|
||||||
|
2. `memos record` 启动截图记录程序
|
||||||
|
3. `memos watch` 监听 `memos record` 所生成的图像事件,并结合实际的处理速度动态的向服务器提交索引请求
|
||||||
|
|
||||||
|
所以,如果你是开发者,或者希望更清晰的看到整个项目运行的日志,你完全可以使用这三个命令让每个部分在前台运行,去替代 `memos enable && memos start` 命令。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user