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.
-
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
, andIBEXA_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.
Command | Description |
---|---|
ddev ibexa_cloud |
Run ibexa_cloud CLI inside the web container |
ddev pull ibexa-cloud |
Pull the configured environment |
IBEXA_CLI_TOKEN
,IBEXA_PROJECT
andIBEXA_ENVIRONMENT
should exist in the environmentbrew tap kaos/shell && brew install bats-assert bats-file
Contributed and maintained by @rfay