Last active
September 7, 2015 06:30
-
-
Save freestream/2ff490b988c2ea24b848 to your computer and use it in GitHub Desktop.
Install Magento2 Sample Data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update composer.json and add following: | |
{ | |
... | |
"require": { | |
"magento/framework": "~1.0.0-beta", | |
"magento/sample-data": "1.0.0-beta", | |
"magento/sample-data-media": "~0.42.0-beta2" | |
}, | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://packages.magento.com/" | |
} | |
], | |
"minimum-stability": "beta" | |
... | |
} | |
Then run: | |
composer update | |
And install sample data: | |
php -f dev/tools/Magento/Tools/SampleData/install.php -- --admin_username=admin | |
The following commands might be working if the previous command generates a stack of errors | |
/var/www/magento2/bin magento setup:upgrade | |
/var/www/magento2/bin magento sampledata:install admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment