> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/on-premises/zh-tw/an-zhuang/using-the-toolkit/2.-familiarize-yourself-with-the-toolkit.md).

# 2. 熟悉 Toolkit

### 四處看看 <a href="#taking-a-look-around" id="taking-a-look-around"></a>

現在你已經有了 Toolkit 的本機副本，讓我們使用 `ls` 指令重新建立所有服務。

{% code title="執行這個" %}

```bash
ls -l
```

{% endcode %}

{% hint style="info" %}
此 `ls -l` 指令會以詳細的長列表方式顯示目錄內容，並提供權限、擁有者與大小等額外檔案資訊。
{% endhint %}

如果一切都成功複製，你應該會看到類似這樣的內容：

```
drwxr-xr-x 3 fry fry  4096 Aug 30 14:16 bin
-rw-r--r-- 1 fry fry  6465 Aug 30 14:16 CHANGELOG.md
drwxr-xr-x 2 fry fry  4096 Sep  6 12:43 config
drwxr-xr-x 5 fry fry  4096 Aug 30 14:22 data
drwxr-xr-x 3 fry fry  4096 Aug 30 14:16 doc
drwxr-xr-x 3 fry fry  4096 Aug 30 14:16 lib
-rw-r--r-- 1 fry fry 34520 Aug 30 14:16 LICENSE
-rw-r--r-- 1 fry fry  1178 Aug 30 14:16 README.md
```

{% hint style="info" %}
所有由使用者擁有的設定檔都位於 `config/` 目錄。這個目錄是 **被排除在** 來自 git 版本控制系統，因此在更新 Toolkit 時不會被變更。
{% endhint %}

## 儲存庫結構

| 名稱       | 描述                                                                                                                                                                         |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `bin`    | 此資料夾包含一組協助你管理 Overleaf 伺服器執行個體的指令碼。你可以在下方的「指令」章節中進一步了解這些指令碼。                                                                                                               |
| `config` | 此資料夾包含你自己的本機設定檔。                                                                                                                                                           |
| `lib`    | 此資料夾包含 Toolkit 使用的基礎設定檔。                                                                                                                                                   |
| `data`   | 預設情況下，此資料夾包含 MongoDB、Redis 與 Overleaf 的儲存位置。更多資訊請參閱 [永久資料](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/files-and-locations#persistent-data) 下方章節。 |

{% hint style="warning" %}
我們建議 **不要** 變更位於以下位置之外的檔案 `/config` 資料夾中直接修改。相反地，如果你需要進行變更，可以透過設定在下列任一處的環境變數來完成 **config/variables.env** 或 **config/overleaf.rc**。\
例如，要設定 `mongo` 服務映像，而不是直接編輯 `lib/docker-compose.mongo.yml` 直接設定映像，使用環境變數 `MONGO_IMAGE` 在 `config/overleaf.rc`。更多資訊請參閱 [Toolkit 設定](broken://pages/fef3d32ddb8323c72a58681ceb7edf40b951f528) 頁面。
{% endhint %}

{% hint style="info" %}
Toolkit 將會 **不要** 在未經你許可的情況下變更 `config/` 目錄中的任何資料。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/on-premises/zh-tw/an-zhuang/using-the-toolkit/2.-familiarize-yourself-with-the-toolkit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
