> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 3. 設定の初期化

> bin/init を使用して、WSL 2 上の Ubuntu で Toolkit の設定ファイルを作成します。

**Ubuntu** で Toolkit のディレクトリから、次のコマンドを実行します:

```bash theme={null}
bin/init
```

`bin/init` は次の 3 つのファイルを作成します:

| ファイル | 用途 |
| - | - |
| `config/overleaf.rc` | コンテナの設定、公開ポート、データの保存場所 |
| `config/variables.env` | アプリケーションの設定とシークレット |
| `config/version` | アプリケーションイメージのバージョン |

また、`config/variables.env` に `OVERLEAF_INVITE_TOKEN_SECRET` を生成します。この値は保持し、このファイルを公開したりバージョン管理にコミットしたりしないでください。

新規インストールでは、Toolkit が選択したバージョンをそのまま使用してください。既存のインスタンスのバージョンを後で変更するには、[デプロイのアップグレード](https://ayakaleaf-pro.mintlify.site/ja/on-premises/maintenance/upgrading-your-deployment.md)に従ってください。

> [!NOTE]
>
> `bin/init` は既存の設定を上書きしません。ファイルがすでに存在すると報告された場合は、続行する前に内容を確認してください。インスタンスを再起動またはアップグレードする際は、`config/` と `data/` を保持してください。

### 次のステップ

[4. Ayakaleaf Pro イメージの取得](https://ayakaleaf-pro.mintlify.site/ja/on-premises/installation/using-docker-compose/windows/4.-get-ayakaleaf-pro-images.md)に進んでください。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.