steffen-wirth
4/7/2016 - 8:14 AM

important cli commands

important cli commands

//set dev or production mode
//clean var and di folder
rm -rf ./var/di/* ./var/generation/* ./var/cache/*
./bin/magento deploy:mode:set {developer | production | default}

d:m:show // deploy:mode:show

//create static files 
./bin/magento setup:static-content:deploy

//create admin user
./bin/magento admin:user:create --admin-user="admin" --admin-password="123123q" --admin-email="steffen@openstream.ch" --admin-firstname="Steffen" --admin-lastname="Wirth"