I am on day 3 of trying to successfully install and use Magento 2 sample data.
The Magento installation goes fine but the trouble is all after installing the sample data.
This is what I'm doing:
1. Set the swap:
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
/sbin/mkswap /var/swap.1
/sbin/swapon /var/swap.1
sudo composer update
2. Set Developer Mode:
sudo php bin/magento deploy:mode:set developer
3. Download Sample Data:
sudo php bin/magento sampledata:deploy
4. Install Sample Data
After this I always get a blank page...
So I do this:
sudo php bin/magento setup:static-content:deploy
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:di:compile
sudo php bin/magento cache:clean
This I get lots of permission errors etc...
So I give up and start again.
Can anyone help on how to successfully do this?
magento setup:upgradeat the end. Here is documentation on how to install sample data after Magento has already been installed. – Steve Johnson Sep 13 '16 at 17:58