feat: readme
This commit is contained in:
parent
d99dc3d0c6
commit
e77ecac9fa
6 changed files with 72 additions and 0 deletions
12
README.fr.md
12
README.fr.md
|
|
@ -195,6 +195,18 @@ docker compose --profile gateway build --no-cache
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Script d'initialisation personnalisé
|
||||||
|
|
||||||
|
Vous pouvez exécuter des étapes de configuration personnalisées avant le démarrage de PicoClaw en fournissant un script d'initialisation. Mettez à jour le chemin `init_script` dans `docker-compose.yml` :
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
init_script:
|
||||||
|
file: /chemin/vers/votre/script
|
||||||
|
```
|
||||||
|
|
||||||
|
Le script est exécuté à chaque démarrage du conteneur, avant PicoClaw. Sans fichier configuré, il s'agit d'une opération sans effet.
|
||||||
|
|
||||||
### 🚀 Démarrage Rapide
|
### 🚀 Démarrage Rapide
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
|
|
|
||||||
12
README.ja.md
12
README.ja.md
|
|
@ -157,6 +157,18 @@ docker compose --profile gateway build --no-cache
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### カスタム Init スクリプト
|
||||||
|
|
||||||
|
PicoClaw の起動前にカスタムセットアップを実行できます。`docker-compose.yml` の `init_script` パスを更新してください:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
init_script:
|
||||||
|
file: /path/to/your/init/script
|
||||||
|
```
|
||||||
|
|
||||||
|
このスクリプトはコンテナ起動のたびに、PicoClaw の前に実行されます。ファイルが設定されていない場合は何もしません。
|
||||||
|
|
||||||
### 🚀 クイックスタート(ネイティブ)
|
### 🚀 クイックスタート(ネイティブ)
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
|
|
|
||||||
12
README.md
12
README.md
|
|
@ -195,6 +195,18 @@ docker compose --profile gateway build --no-cache
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Custom Init Script
|
||||||
|
|
||||||
|
You can run custom setup steps before PicoClaw starts by providing an init script. Update the `init_script` path in `docker-compose.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
init_script:
|
||||||
|
file: /path/to/your/init/script
|
||||||
|
```
|
||||||
|
|
||||||
|
The script runs every time the container starts, before PicoClaw. With no file configured, it is a no-op.
|
||||||
|
|
||||||
### 🚀 Quick Start
|
### 🚀 Quick Start
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,18 @@ docker compose --profile gateway build --no-cache
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Script de Inicialização Personalizado
|
||||||
|
|
||||||
|
Você pode executar etapas de configuração personalizadas antes do PicoClaw iniciar, fornecendo um script de inicialização. Atualize o caminho `init_script` no `docker-compose.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
init_script:
|
||||||
|
file: /caminho/para/seu/script/de/inicializacao
|
||||||
|
```
|
||||||
|
|
||||||
|
O script é executado toda vez que o contêiner inicia, antes do PicoClaw. Sem arquivo configurado, o comportamento padrão é uma operação nula.
|
||||||
|
|
||||||
### 🚀 Início Rápido
|
### 🚀 Início Rápido
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
|
|
|
||||||
12
README.vi.md
12
README.vi.md
|
|
@ -176,6 +176,18 @@ docker compose --profile gateway build --no-cache
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Script Khởi tạo Tùy chỉnh
|
||||||
|
|
||||||
|
Bạn có thể chạy các bước cài đặt tùy chỉnh trước khi PicoClaw khởi động bằng cách cung cấp một script khởi tạo. Cập nhật đường dẫn `init_script` trong `docker-compose.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
init_script:
|
||||||
|
file: /đường/dẫn/đến/script/của/bạn
|
||||||
|
```
|
||||||
|
|
||||||
|
Script được thực thi mỗi lần container khởi động, trước PicoClaw. Nếu không có file nào được cấu hình, đây là một thao tác không làm gì.
|
||||||
|
|
||||||
### 🚀 Bắt đầu nhanh
|
### 🚀 Bắt đầu nhanh
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
|
|
|
||||||
12
README.zh.md
12
README.zh.md
|
|
@ -200,6 +200,18 @@ docker compose --profile gateway up -d
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 自定义初始化脚本
|
||||||
|
|
||||||
|
您可以在 PicoClaw 启动前执行自定义初始化步骤。在 `docker-compose.yml` 中更新 `init_script` 的路径:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
configs:
|
||||||
|
init_script:
|
||||||
|
file: /path/to/your/init/script
|
||||||
|
```
|
||||||
|
|
||||||
|
该脚本在每次容器启动时、PicoClaw 运行前执行。若未配置文件,则默认为空操作。
|
||||||
|
|
||||||
### 🚀 快速开始
|
### 🚀 快速开始
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue