The term static view file refers to the following: “Static” means it can be cached for a site (that is, the file is not dynamically generated). Examples include images and CSS generated from LESS. “View” refers to presentation layer (from...
Month: March 2016
Magento2 multiple Magento stores and websites
Set values in an entry point script If necessary, copy the existing index.php entry point script for your website or store view and add to it the following: <?php $params = $_SERVER; $params = '<code>'; $params = '{store|website}'; $bootstrap =...
Magento Caching
1)su <Magento file system owner> -s /bin/bash -c <command> 2) export PATH=$PATH:/var/www/html/magento2/bin View the cache status magento cache:status Enable or disable cache types Magento cache:enable ... magento cache:disable ... Clean and flush cache types magento cache:clean ... magento cache:flush ......
How To Install and Use Composer on Ubuntu 14.04
Pour installer composer , ouvrez un terminal et tapez les lignes suivantes : curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer.phar alias composer='/usr/local/bin/composer.phar'
Ubuntu Linux: Add a User To Group
Create a group called foo and add user tom to a secondary group called foo: $ sudo groupadd foo $ sudo useradd -G foo tom OR # groupadd foo # useradd -G foo tom Verify new settings: id tom groups...
Introduction to Magento 2 modes
Display the current mode Command usage: magento deploy:mode:show A message similar to the following displays: Current application mode: developer. Change modes Command usage: magento deploy:mode:set {mode} where {mode} is required; it can be either developer or production --skip-compilation is an...