Refereshing Magento 2
php bin/magento setup:upgrade;
php bin/magento cache:flush;
php bin/magento setup:static-content:deploy;
find pub/ -type f ! -perm 0644 -exec chmod 0644 {} \;
find pub/ -type d ! -perm 0755 -exec chmod 0755 {} \;
php bin/magento indexer:reindex;
php bin/magento setup:di:compile;