Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ezpublish-configurator | 7x | stable |
Version | Compatible with |
---|---|
N/A | N/A |
A way to configure ezpublish 4 installations, when using a multi stage environment for instance int, stage or prod.
Provides:
Requirements:
Add the library to your project (e.g. via Composer)
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/p7s1digital/ezpublish-configurator"
}
],
"require": {
"psd/ezpublish-configurator": "dev-master"
}
}
Here is a small configuration file that holds sensitive database credentials.
# The settings file to override
settings/override:
site.ini.append.php:
# Defines block values that can be overwritten.
DatabaseSettings:
# The variable that can be overwritten.
Server: 127.0.0.1
Port: 3306
User: dbuser
Password: dbpassword
Database: ez_db
Charset: utf8
Socket: /var/lib/mysql/mysql.sock
extension/myextension/settings:
site.ini.append.php:
MyBlock:
MyVar: true
Executing the CLI script:
$ php bin/configurator update-configuration prod-env.yml /var/www/ezpublish