diff --git a/README.md b/README.md index 8d9a590..11394ae 100644 --- a/README.md +++ b/README.md @@ -257,4 +257,12 @@ To avoid affecting users' daily use, Pensieve has adopted the following optimiza ## 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. diff --git a/README_ZH.md b/README_ZH.md index abaa411..a24700c 100644 --- a/README_ZH.md +++ b/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` 命令。