Installing Magento 2 via the shell is not new. In the current Magento version, it was already possible using the install.php
file. The configuration looked like this:
/usr/local/bin/php -f install.php -- \ --license_agreement_accepted "yes" \ --locale "en_US" \ --timezone "America/Los_Angeles" \ --default_currency "USD" \ --db_host "mysql.example.com" \ --db_name "your_db_name" \ --db_user "your_db_username" \ --db_pass "your_db_password" \ --db_prefix "" \ --admin_frontname "admin" \ --url "http://www.examplesite.com/store" \ --use_rewrites "yes" \ --use_secure "no" \ --secure_base_url "" \ --use_secure_admin "no" \ --admin_firstname "your_first_name" \ --admin_lastname "your_last_name" \ --admin_email "[email protected]" \ --admin_username "your_admin_username" \ --admin_password "your_admin_password"
It was very easy to script and use multiple times on any given environment.
In Magento 2, the logic stayed the same but now, it's much...