Docker is installed
- create directory
~/magento2-docker
- add docker-compose.yml to
~/magento2-docker
with the following content
version: '3'
services:
Index: app/code/Magento/Cms/Controller/Index/Index.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- app/code/Magento/Cms/Controller/Index/Index.php (revision 151726ac76897cbf6437b9005fabda3305a5ea08) | |
+++ app/code/Magento/Cms/Controller/Index/Index.php (revision ) | |
@@ -34,6 +34,7 @@ | |
*/ | |
public function execute($coreRoute = null) |
sudo rpm -i https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.0.rpm | |
sudo chkconfig --add elasticsearch | |
sudo service elasticsearch start | |
curl localhost:9200 |
/** | |
* @magentoDataFixture Magento/ConfigurableProduct/_files/quote_with_configurable_product.php | |
*/ | |
public function testSaveQuoteMultipleTimes() | |
{ | |
/** @var \Magento\CatalogInventory\Model\Stock\Item $stockItem */ | |
$stockItem = Bootstrap::getObjectManager()->create(\Magento\CatalogInventory\Model\Stock\Item::class); | |
$stockItem->load(10, 'product_id'); |
<?php | |
namespace Magento\AsynchronousOperations\Api; | |
/** | |
* @api | |
*/ | |
interface BulkStatusInterface | |
{ | |
/** |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: spark-master | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
component: spark-master | |
template: |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: spark-master | |
spec: | |
ports: | |
- name: webui | |
port: 8083 | |
targetPort: 8080 | |
- name: spark |