Magento 2's CLI has a setup:install
command that will let you generate an initial configuration
php bin/magento setup:install --admin-email astorm@example.com --admin-firstname Alan --admin-lastname Storm --admin-password 'whymagentowhy?@###@' --admin-user username --backend-frontname admin.bak --base-url http://magento.example.com --db-host 127.0.0.1 --db-name db_name --db-password yeahright --db-user notroot --session-save files --use-rewrites 1 --use-secure 0 -vvv
Is there [a version of this command, another command, or some third party project]
that will automatically generate the needed configuration nodes for a redis cache and redis sessions?
Best Answer
I just have starter env file what i copy to 'app/etc/env.php' before running the installer command:
The install shouldn't replace anything from the env.php if you don't tell it to.