How quickly can you install with composer a Magento2 last version without sample data
closed as off-topic by 7ochem, Raphael at Digital Pianism, Keyul Shah, Rakesh Jesadiya, Amit Bera♦ Nov 4 '16 at 13:04
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – 7ochem, Raphael at Digital Pianism, Keyul Shah, Rakesh Jesadiya, Amit Bera
Run command to bring Magento2 from the repository:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento
add the credential for Username and Password for authentification on the terminal, your credential is in your Magento.com account after you logged in click here.
After ruling the composer command you have to enter in the Magento folder that was created by the composer
Create the database and completes below with the following command: database name, database user, database password, domain, First Name, Last Name, Email address, user admin, admin password, admin path
Then rule the command for install Magento2 in terminal:
php bin/magento setup:install --base-url=http://domain.com/ --db-host=localhost --db-name=db_name --db-user=db_user --db-password=db_pass --admin-firstname=FirstName --admin-lastname=LastName --firstname.lastname@example.org --admin-user=admin --admin-password=password --language=en_US --backend-frontname=admin --magento-init-params=“MAGE_MODE=developer”
And now you can enjoy Magento2.