warden_init_project
Set up a new Magento 2 project in Warden by configuring the environment, specifying PHP, MySQL, Node.js versions, and enabling tools like Redis, OpenSearch, Varnish, RabbitMQ, and Xdebug.
Instructions
Initialize a new Warden project with Magento 2 environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
composer_version | No | Composer version (default: 2) | 2 |
enable_opensearch | No | Enable OpenSearch (default: true) | |
enable_rabbitmq | No | Enable RabbitMQ (default: true) | |
enable_redis | No | Enable Redis (default: true) | |
enable_varnish | No | Enable Varnish (default: true) | |
enable_xdebug | No | Enable Xdebug (default: true) | |
environment_type | No | Environment type (default: magento2) | magento2 |
mysql_distribution | No | MySQL distribution (default: mariadb) | mariadb |
mysql_version | No | MySQL version (default: 10.6) | 10.6 |
node_version | No | Node.js version (default: 20) | 20 |
opensearch_version | No | OpenSearch version (default: 2.12) | 2.12 |
php_version | No | PHP version (default: 8.3) | 8.3 |
project_name | Yes | Name for the Warden environment | |
project_path | Yes | Path where the project should be initialized | |
redis_version | No | Redis version (default: 7.2) | 7.2 |
Input Schema (JSON Schema)
{
"properties": {
"composer_version": {
"default": "2",
"description": "Composer version (default: 2)",
"type": "string"
},
"enable_opensearch": {
"default": true,
"description": "Enable OpenSearch (default: true)",
"type": "boolean"
},
"enable_rabbitmq": {
"default": true,
"description": "Enable RabbitMQ (default: true)",
"type": "boolean"
},
"enable_redis": {
"default": true,
"description": "Enable Redis (default: true)",
"type": "boolean"
},
"enable_varnish": {
"default": true,
"description": "Enable Varnish (default: true)",
"type": "boolean"
},
"enable_xdebug": {
"default": true,
"description": "Enable Xdebug (default: true)",
"type": "boolean"
},
"environment_type": {
"default": "magento2",
"description": "Environment type (default: magento2)",
"type": "string"
},
"mysql_distribution": {
"default": "mariadb",
"description": "MySQL distribution (default: mariadb)",
"type": "string"
},
"mysql_version": {
"default": "10.6",
"description": "MySQL version (default: 10.6)",
"type": "string"
},
"node_version": {
"default": "20",
"description": "Node.js version (default: 20)",
"type": "string"
},
"opensearch_version": {
"default": "2.12",
"description": "OpenSearch version (default: 2.12)",
"type": "string"
},
"php_version": {
"default": "8.3",
"description": "PHP version (default: 8.3)",
"type": "string"
},
"project_name": {
"description": "Name for the Warden environment",
"type": "string"
},
"project_path": {
"description": "Path where the project should be initialized",
"type": "string"
},
"redis_version": {
"default": "7.2",
"description": "Redis version (default: 7.2)",
"type": "string"
}
},
"required": [
"project_path",
"project_name"
],
"type": "object"
}