Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
# | |
# Customized VCL file for serving up a Drupal site with multiple back-ends. | |
# | |
# For more information on this VCL, visit the Lullabot article: | |
# http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal | |
# | |
# Define the internal network subnet. | |
# These are used below to allow internal access to certain files while not | |
# allowing access from the public internet. |
<?php | |
namespace Petemcw; | |
use Magento\Customer\Model\Session; | |
class Customer | |
{ | |
/** | |
* @var \Magento\Customer\Model\Session |
#!/usr/bin/env bash | |
BREW_PREFIX=$(brew --prefix | sed 's#/#\\\/#g') | |
BREW_ARRAY=("5.6","7.0","7.1","7.2") | |
PHP_ARRAY=("php@5.6" "php@7.0" "php@7.1" "php@7.2") | |
PHP_INSTALLED_ARRAY=() | |
PHP_VERSION="php@$1" | |
PROFILE="/Users/prm/.zshrc" | |
# Has the user submitted a version required |
--- vendor/magento/module-backup/view/adminhtml/templates/backup//list.phtml 2019-09-19 15:52:44.000000000 -0500 | |
+++ vendor/magento/module-backup/view/adminhtml/templates/backup//list.phtml 2019-10-17 17:37:00.000000000 -0500 | |
@@ -7,4 +7,4 @@ | |
<?= $block->getChildHtml('grid') ?> | |
<?= $block->getGridHtml() ?> | |
<?= $block->getDialogsHtml() ?> | |
-<?php | |
+ | |
--- vendor/magento/module-bundle/view/base/templates/product/price/selection/amount.phtml 2019-09-19 15:52:44.000000000 -0500 |
From the Apache Software Foundation, "Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON, Ruby, and Python APIs, hit highlighting, faceted search, caching, replication, and a web administration interface." Magento has had built-in support for Solr since Enterprise verion 1.8.
The following instructions show how to complete a basic installation and configuration of Apache Solr for use with Magento Enterprise on CentOS/RHEL 6. These instructions the Java JDK with Tomcat rather than jetty.
Note: Solr should be on a dedicated server if possible, especially for large installations, as it can be resource intensive
A great way to get Docker running smoothly on OS X is to use the awesome project Dinghy. It is basically:
Docker on OS X with batteries included, aimed at making a more pleasant local development experience. Runs on top of docker-machine.
Some of the benefits are:
#!/usr/bin/env bash | |
################################################################################ | |
# | |
# MacOS Homebrew-based PHP version switcher. | |
# | |
################################################################################ | |
# Define read-only script variables | |
# ------------------------------------------------------------------------------- | |
declare -r SPHP_BREW_PREFIX="$(brew --prefix | sed 's#/#\\\/#g')" |
# FILE: /etc/nginx/conf.d/assets.conf | |
# Directives to send expires headers and turn off 404 error logging for Static assets | |
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpe?g|gif|png|ico|zip|pdf|t?gz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|swf|bmp|txt|rtf|md)$ { | |
access_log off; | |
log_not_found off; | |
expires max; | |
add_header Cache-Control public; | |
} |