Skip to content

Development

Jeroen Vermeulen edited this page Sep 25, 2017 · 16 revisions

Dev Environment

cd ~/magento2
mkdir -p app/code/MageHost
git clone https://github.com/magehost/performance-dashboard app/code/MageHost/PerformanceDashboard
php bin/magento module:enable MageHost_PerformanceDashboard
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Before Release

composer config repositories.magento_marketplace-eqp vcs https://github.com/magento/marketplace-eqp
composer require --dev  squizlabs/php_codesniffer:2.6.2  magento/marketplace-eqp:1.0.5
composer update
{
    vendor/bin/phpcbf  app/code/MageHost/PerformanceDashboard  --standard=MEQP2
    clear
    vendor/bin/phpcs   app/code/MageHost/PerformanceDashboard  --standard=MEQP2
    printf "\e[31m%s\e[0m\n" "$( vendor/bin/phpcs   app/code/MageHost/PerformanceDashboard  --standard=MEQP2 --severity=10)"
}
Clone this wiki locally