Compare commits
3 Commits
c39e0a5058
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 4aa0d8cc44 | |||
| 08edb8bff6 | |||
|
|
17009cae28 |
2
.github/workflows/integration-test.yml
vendored
2
.github/workflows/integration-test.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-action@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: Install Podman
|
- name: Install Podman
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
15
AGENTS.md
15
AGENTS.md
@@ -24,19 +24,6 @@ All examples should be run using the provided wrapper script:
|
|||||||
./scripts/run-example.sh <example_name>
|
./scripts/run-example.sh <example_name>
|
||||||
```
|
```
|
||||||
|
|
||||||
**Available examples:**
|
|
||||||
```bash
|
|
||||||
./scripts/run-example.sh basic_usage
|
|
||||||
./scripts/run-example.sh upload_photos
|
|
||||||
./scripts/run-example.sh download_asset
|
|
||||||
./scripts/run-example.sh thumbnail
|
|
||||||
./scripts/run-example.sh search_metadata
|
|
||||||
./scripts/run-example.sh album_management
|
|
||||||
./scripts/run-example.sh timeline_browsing
|
|
||||||
./scripts/run-example.sh delete_assets
|
|
||||||
./scripts/run-example.sh server_info
|
|
||||||
```
|
|
||||||
|
|
||||||
The wrapper handles everything automatically:
|
The wrapper handles everything automatically:
|
||||||
- Starts Immich containers (if not running)
|
- Starts Immich containers (if not running)
|
||||||
- Creates admin user and API key
|
- Creates admin user and API key
|
||||||
@@ -46,7 +33,7 @@ The wrapper handles everything automatically:
|
|||||||
|
|
||||||
**When adding new examples:**
|
**When adding new examples:**
|
||||||
1. Read `IMMICH_URL` and `IMMICH_API_KEY` from environment variables
|
1. Read `IMMICH_URL` and `IMMICH_API_KEY` from environment variables
|
||||||
2. Test with: `./scripts/run-example.sh <name>`
|
2. Test with: `./scripts/run-example.sh <name>` (Important!)
|
||||||
3. Verify it works with the seeded test data (3 photos, 1 album)
|
3. Verify it works with the seeded test data (3 photos, 1 album)
|
||||||
|
|
||||||
## Code Style Guidelines
|
## Code Style Guidelines
|
||||||
|
|||||||
Reference in New Issue
Block a user