
DDEV Ibexa Cloud
Overview
The Ibexa Cloud has its own CLI, instead of using the platform
CLI.
This add-on provides integration for Ibexa Cloud and adds the ddev ibexa_cloud
custom command into your DDEV project.
Installation
- Configure your Ibexa project for DDEV if you haven’t already, see DDEV Ibexa Quickstart
ddev add-on get ddev/ddev-ibexa-cloud
-
Configure your IBEXA_CLI_TOKEN
globally:
ddev config global --web-environment-add=IBEXA_CLI_TOKEN=nf4amudfn23biyourtoken
-
(Optional) To use multiple API tokens for different projects, add them to your per-project configuration using the .ddev/config.local.yaml file instead. This file is gitignored by default.
web_environment:
- IBEXA_CLI_TOKEN=nf4amudfn23biyourtoken
-
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
ddev restart
ddev pull ibexa-cloud
After installation, make sure to commit the .ddev
directory to version control.
Usage
Command |
Description |
ddev ibexa_cloud |
Run ibexa_cloud CLI inside the web container |
ddev pull ibexa-cloud |
Pull the configured environment |
Running Automated Tests Locally
IBEXA_CLI_TOKEN
, IBEXA_PROJECT
and IBEXA_ENVIRONMENT
should exist in the environment
brew tap kaos/shell && brew install bats-assert bats-file
Credits
Contributed and maintained by @rfay