feat: readme

This commit is contained in:
Matteo Pietro Dazzi 2026-02-22 19:03:58 +01:00
parent d99dc3d0c6
commit e77ecac9fa
6 changed files with 72 additions and 0 deletions

View file

@ -195,6 +195,18 @@ docker compose --profile gateway build --no-cache
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
> [!TIP]

View file

@ -157,6 +157,18 @@ docker compose --profile gateway build --no-cache
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]

View file

@ -195,6 +195,18 @@ docker compose --profile gateway build --no-cache
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
> [!TIP]

View file

@ -196,6 +196,18 @@ docker compose --profile gateway build --no-cache
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
> [!TIP]

View file

@ -176,6 +176,18 @@ docker compose --profile gateway build --no-cache
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
> [!TIP]

View file

@ -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]