eZ Community » Forums » Install & configuration » [solved] unattended/non-interactive...
expandshrink

[solved] unattended/non-interactive install of explatform with composer?

[solved] unattended/non-interactive install of explatform with composer?

Thursday 24 December 2015 4:23:59 pm

I'm installing ezplatform using composer
    php -d memory_limit=-1 /usr/local/bin/composer create-project ezsystems/ezplatform ezplatform
Once the deps are dl'd, the folling questions are asked
    ...
    Some parameters are missing. Please provide them.
    secret (ThisTokenIsNotSoSecretChangeIt):
    locale_fallback (en):
    mailer_transport (smtp):
    mailer_host (127.0.0.1):
    mailer_user (null):
    mailer_password (null):
    database_driver (pdo_mysql):
    database_host (localhost):
    database_port (null):
    database_name (ezplatform):
    database_user (root):
    database_password (null):
    search_engine (legacy):
    solr_dsn ('http://localhost:8983/solr'):
    ...
The results end up after the install in "parameters.yml",
    ref: https://github.com/ezsystems/ezpl...aster/app/config/parameters.yml.dist
which can of course be subsequently edited.
What's the procedure/syntax for passing a prepopulated config to the composer install cmd for a completely unattended/non-interactive composer-install of ezplatform?

EDIT:

It seems this works:

php -d memory_limit=-1 /usr/local/bin/composer --no-interaction create-project ezsystems/ezplatform ezplatform

which executes with no prompts.

Then, you can manually populate

./app/config/parameters.yml

afterwards.

Modified on Monday 28 December 2015 4:28:26 am by anon _

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from