Skip to content

Commit 0b0e356

Browse files
authored
refactor: add v1.24.3 constraint, update README.md (#12)
1 parent 9833e6f commit 0b0e356

File tree

2 files changed

+44
-17
lines changed

2 files changed

+44
-17
lines changed

README.md

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,56 @@
1-
[![tests](https://github.com/ddev/ddev-ibexa-cloud/actions/workflows/tests.yml/badge.svg)](https://github.com/ddev/ddev-ibexa-cloud/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2025.svg)
1+
[![add-on registry](https://img.shields.io/badge/DDEV-Add--on_Registry-blue)](https://addons.ddev.com)
2+
[![tests](https://github.com/ddev/ddev-ibexa-cloud/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ddev/ddev-ibexa-cloud/actions/workflows/tests.yml?query=branch%3Amain)
3+
[![last commit](https://img.shields.io/github/last-commit/ddev/ddev-ibexa-cloud)](https://github.com/ddev/ddev-ibexa-cloud/commits)
4+
[![release](https://img.shields.io/github/v/release/ddev/ddev-ibexa-cloud)](https://github.com/ddev/ddev-ibexa-cloud/releases/latest)
5+
6+
# DDEV Ibexa Cloud
7+
8+
## Overview
29

310
The [Ibexa Cloud](https://www.ibexa.co/products/ibexa-cloud) has its own CLI, instead of using the `platform` CLI.
411

5-
This add-on provides integration for Ibexa Cloud and adds the `ddev ibexa_cloud` custom command.
12+
This add-on provides integration for Ibexa Cloud and adds the `ddev ibexa_cloud` custom command into your [DDEV](https://ddev.com/) project.
13+
14+
## Installation
615

716
1. Configure your Ibexa project for DDEV if you haven't already, see [DDEV Ibexa Quickstart](https://ddev.readthedocs.io/en/stable/users/quickstart/#ibexa-dxp)
8-
2. `ddev get ddev/ddev-ibexa-cloud` (# or in DDEV v1.23.5+ `ddev add-on get ddev/ddev-ibexa-cloud`)
9-
3. Configure your IBEXA_CLI_TOKEN globally, `ddev config global --web-environment-add=IBEXA_CLI_TOKEN=nf4amudfn23biyourtoken`
10-
4. Configure your IBEXA_PROJECT, IBEXA_ENVIRONMENT, and IBEXA_APP environment variables, for example `ddev config --web-environment-add=IBEXA_PROJECT=nf4amudfn23biyourproject,IBEXA_ENVIRONMENT=main,IBEXA_APP=app`
11-
5. `ddev restart`
12-
6. `ddev pull ibexa-cloud`
17+
2. `ddev add-on get ddev/ddev-ibexa-cloud`
18+
3. Configure your `IBEXA_CLI_TOKEN` globally:
19+
20+
```bash
21+
ddev config global --web-environment-add=IBEXA_CLI_TOKEN=nf4amudfn23biyourtoken
22+
```
23+
24+
4. (Optional) To use multiple API tokens for different projects, add them to your per-project configuration using the [.ddev/config.local.yaml](https://ddev.readthedocs.io/en/stable/users/configuration/config/#environmental-overrides) file instead. This file is gitignored by default.
25+
26+
```yaml
27+
web_environment:
28+
- IBEXA_CLI_TOKEN=nf4amudfn23biyourtoken
29+
```
30+
31+
5. Configure your `IBEXA_PROJECT`, `IBEXA_ENVIRONMENT`, and `IBEXA_APP` environment variables, for example:
32+
33+
```bash
34+
ddev config --web-environment-add=IBEXA_PROJECT=nf4amudfn23biyourproject,IBEXA_ENVIRONMENT=main,IBEXA_APP=app
35+
```
36+
37+
6. `ddev restart`
38+
7. `ddev pull ibexa-cloud`
39+
40+
After installation, make sure to commit the `.ddev` directory to version control.
41+
42+
## Usage
43+
44+
| Command | Description |
45+
| ------- | ----------- |
46+
| `ddev ibexa_cloud` | Run `ibexa_cloud` CLI inside the web container |
47+
| `ddev pull ibexa-cloud` | Pull the configured environment |
1348

1449
## Running Automated Tests Locally
1550

1651
* `IBEXA_CLI_TOKEN`, `IBEXA_PROJECT` and `IBEXA_ENVIRONMENT` should exist in the environment
1752
* `brew tap kaos/shell && brew install bats-assert bats-file`
1853

54+
## Credits
1955

2056
**Contributed and maintained by [@rfay](https://github.com/rfay)**

install.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
21
name: ibexa-cloud
3-
pre_install_actions:
42

53
project_files:
64
- commands/web/ibexa_cloud
75
- config.ibexa-cloud.yaml
86
- providers/ibexa-cloud.yaml
97
- web-build/Dockerfile.ibexa-cloud
108

11-
global_files:
12-
dependencies:
13-
14-
post_install_actions:
15-
removal_actions:
16-
17-
yaml_read_files:
18-
9+
ddev_version_constraint: '>= v1.24.3'

0 commit comments

Comments
 (0)