Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Small changes #4204

Merged
merged 37 commits into from
Apr 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9f53591
[ImgBot] Optimize images
ImgBotApp Apr 4, 2019
83f7a26
remove 1page layoufrom the code as per the latest version magento2.3 …
manthandave Apr 5, 2019
438132f
Merge branch 'master' into checkout_customize_code
manthandave Apr 5, 2019
302b2fb
Update composer.md
likemusic Apr 5, 2019
e1ff035
version change in installation file
manthandave Apr 8, 2019
0797170
Merge pull request #4191 from manthandave/inventory-managements-insta…
dobooth Apr 8, 2019
7f655bc
Merge branch 'master' into checkout_customize_code
dobooth Apr 8, 2019
956cd69
Merge branch 'master' into small_changes
dobooth Apr 8, 2019
13664a8
Merge pull request #4178 from manthandave/checkout_customize_code
dobooth Apr 8, 2019
a86e231
Update config-reference-gitignore.md
hiteshvaghasiya83 Apr 8, 2019
376fdfb
Correct to use zero
hguthrie Apr 8, 2019
f83416e
Merge branch 'master' into patch-11
dobooth Apr 8, 2019
88cb6f1
Merge branch 'master' into small_changes
dobooth Apr 8, 2019
0f844ce
Merge pull request #4181 from likemusic/patch-11
dobooth Apr 8, 2019
78e0900
Merge branch 'master' into patch-1
dobooth Apr 9, 2019
24ac2d1
Merge branch 'master' into small_changes
dobooth Apr 9, 2019
9c462ae
Merge pull request #4193 from hiteshvaghasiya83/patch-1
dobooth Apr 9, 2019
fc7d6ac
Merge branch 'master' into hg-fixzero
dobooth Apr 9, 2019
18eebf3
Merge branch 'master' into small_changes
dobooth Apr 9, 2019
776df2d
Merge pull request #4195 from magento/hg-fixzero
dobooth Apr 9, 2019
9b1029c
fixing formatting for warning
erikmarr Apr 9, 2019
dc42fd6
adding updates for 2.1 and 2.3
erikmarr Apr 9, 2019
f832759
Merge pull request #4203 from magento/em_magento-fixFormatting
dobooth Apr 9, 2019
14b0807
Merge branch 'master' into imgbot
dobooth Apr 9, 2019
6133809
Merge pull request #4177 from magento/imgbot
dobooth Apr 9, 2019
a92113f
Formatted CLI commands
yogeshsuhagiya Apr 10, 2019
b81229d
Make code in user readable format
yogeshsuhagiya Apr 10, 2019
1bc8930
Change the Sentence Formation and Grammatical Improvements
manthandave Apr 10, 2019
827000f
Merge branch 'master' into master-yogesh-patch-16
dobooth Apr 10, 2019
30f0474
Merge branch 'master' into small_changes
dobooth Apr 10, 2019
1ad5777
Merge pull request #4207 from yogeshsuhagiya/master-yogesh-patch-16
dobooth Apr 10, 2019
50d4f57
Merge branch 'master' into master-yogesh-patch-15
dobooth Apr 10, 2019
20a1a36
Merge pull request #4206 from yogeshsuhagiya/master-yogesh-patch-15
dobooth Apr 10, 2019
bb77e7d
Small tweak.
dobooth Apr 10, 2019
117322e
Merge branch 'master' into graphql_improvement
dobooth Apr 10, 2019
16e8e9c
Merge pull request #4208 from manthandave/graphql_improvement
dobooth Apr 10, 2019
365c67d
Fixed command markup.
dobooth Apr 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/toc/cloud-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ pages:
- label: Cloud deployment process
url: /cloud/deploy/cloud-deployment-process.html

- label: Reduce downtime
- label: Zero downtime deployment
url: /cloud/deploy/reduce-downtime.html

- label: Static content deployment
Expand Down
Binary file modified common/images/fdg/lib-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions guides/v2.1/cloud/deploy/optimize-cloud-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ The following topics can help you to better understand how to optimize the deplo
- [Cloud deployment process]({{page.baseurl}}/cloud/deploy/cloud-deployment-process.html)
There are three phases in the Cloud deployment process, and you can use the strengths and weaknesses of each phase to your advantage.

- [Zero downtime deployment]({{page.baseurl}}/cloud/deploy/reduce-downtime.html)
Understand what happens during deployment and how to reduce the amount of downtime your store experiences during an update to the Production environment.

- [Static content deployment]({{page.baseurl}}/cloud/deploy/static-content-deployment.html)
The best way to optimize your Cloud deployment is to control how and when to generate static content.

- [Reduce downtime]({{page.baseurl}}/cloud/deploy/reduce-downtime.html)
Understand what happens during deployment and how to reduce the amount of downtime your store experiences during an update to the Production environment.

- [Smart wizards]({{page.baseurl}}/cloud/deploy/smart-wizards.html)
The `{{site.data.var.ct}}` package provides the smart wizard commands to quickly evaluate your project configuration.
6 changes: 3 additions & 3 deletions guides/v2.1/cloud/deploy/reduce-downtime.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
group: cloud-guide
title: Reduce downtime
title: Zero downtime deployment
functional_areas:
- Cloud
- Deploy
- SCD
---

{{site.data.var.ece}} runs Magento in [_maintenance_ mode]({{page.baseurl}}/config-guide/bootstrap/magento-modes.html#maintenance-mode) during the deploy phase, which takes your site offline until the deployment is complete. The length of time your Production site is in maintenance mode depends on the size of the site, the number of changes applied during the deployment, and the configuration for static content deployment.
{{site.data.var.ece}} runs Magento in [_maintenance_ mode]({{page.baseurl}}/config-guide/bootstrap/magento-modes.html#maintenance-mode) during the deploy phase, which takes your site offline until the deployment is complete. The length of time your Production site is in maintenance mode depends on the size of the site, the number of changes applied during the deployment, and the configuration for static content deployment. It is possible to configure your project so that it deploys with a **zero** downtime effect.

During the deployment process, all connections queue for up to 5 minutes preserving any active sessions and pending actions, such as adding to cart or checkout. After deployment, the queue is released and connections continue without interruption. To use this _connection hold_ to your advantage and reduce downtime to **zero**, you must configure your project to use the most efficient deploy strategy.
During the deployment process, all connections queue for up to 5 minutes preserving any active sessions and pending actions, such as adding to cart or checkout. After deployment, the queue is released and connections continue without interruption. To use this _connection hold_ to your advantage and reduce deployment to _zero_ downtime, you must configure your project to use the most efficient deploy strategy.

Use the following steps to reduce the amount of time it takes your store to deploy an update to Production:

Expand Down
25 changes: 14 additions & 11 deletions guides/v2.1/config-guide/bootstrap/magento-bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,20 @@ The assertions that the Magento application is installed and not in maintenance

Sample entry point script that modifies the bootstrap object:

```php?start_inline=1
use Magento\Framework\App\Bootstrap;
require __DIR__ . '/app/bootstrap.php';
$params = $_SERVER;
$params[Bootstrap::PARAM_REQUIRE_MAINTENANCE] = true; // default false
$params[Bootstrap::PARAM_REQUIRE_IS_INSTALLED] = false; // default true
$bootstrap = Bootstrap::create(BP, $params);
/** @var \Magento\Framework\App\Http $app */
$app = $bootstrap->createApplication('Magento\Framework\App\Http');
$bootstrap->run($app);
```
```php?start_inline=1
<?php
use Magento\Framework\App\Bootstrap;
require __DIR__ . '/app/bootstrap.php';

$params = $_SERVER;
$params[Bootstrap::PARAM_REQUIRE_MAINTENANCE] = true; // default false
$params[Bootstrap::PARAM_REQUIRE_IS_INSTALLED] = false; // default true
$bootstrap = Bootstrap::create(BP, $params);

/** @var \Magento\Framework\App\Http $app */
$app = $bootstrap->createApplication('Magento\Framework\App\Http');
$bootstrap->run($app);
```

## Default exception handling {#config-boot-exception}

Expand Down
5 changes: 3 additions & 2 deletions guides/v2.1/howdoi/checkout/checkout_customize.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The Magento_Shipping module adds a component rendered as a link to the Shipping


```xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="checkout.root">
<arguments>
Expand Down Expand Up @@ -81,6 +81,7 @@ The Magento_Shipping module adds a component rendered as a link to the Shipping
</referenceBlock>
</body>
</page>

```

## Add the new component to the checkout page layout {#add}
Expand Down Expand Up @@ -115,4 +116,4 @@ return $jsLayout;
If you want to use this sample in your code, replace the `%path_to_target_node%` placeholder with real value.

{: .bs-callout .bs-callout-info" }
Disable vs remove a component: If you disable a component, it is loaded but not rendered. If you remove a component, it is not loaded.
Disable vs remove a component: If you disable a component, it is loaded but not rendered. If you remove a component, it is removed and not loaded.
6 changes: 3 additions & 3 deletions guides/v2.1/install-gde/composer.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ To get the Magento metapackage:

**{{site.data.var.ce}}**
```bash
composer create-project --repository=https://repo.magento.com/magento/project-community-edition:<version-tag> <install-directory-name>
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:<version-tag> <install-directory-name>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an extra space was added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the fix. I was surprised myself.

```

**{{site.data.var.ee}}**
```bash
composer create-project --repository=https://repo.magento.com/magento/project-enterprise-edition:<version-tag> <install-directory-name>
composer create-project --repository=https://repo.magento.com/ magento/project-enterprise-edition:<version-tag> <install-directory-name>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an extra space was added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above.

```

When prompted, enter your Magento authentication keys. Your _public key_ is your username; your _private key_ is your password.

To install {{site.data.var.ce}} version 2.2.2 run in current folder:
```bash
composer create-project --repository=https://repo.magento.com/magento/project-community-edition:2.2.2 .
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:2.2.2 .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an extra space was added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same.

```

If you encounter errors, such as `Could not find package...` or `...no matching package found`, make sure there are no typos in your command. If you still encounter errors, you may not be authorized to download {{site.data.var.ee}}. Contact [Magento support](https://magento.com/support) for help.
Expand Down
6 changes: 2 additions & 4 deletions guides/v2.1/install-gde/prereq/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ Magento _strongly_ recommends you observe the following standard when you set up
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.

{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
implementations utilizing GTID-based replication, such as
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
{:.bs-callout .bs-callout-warning}
Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions, which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database implementations utilizing GTID-based replication, such as [Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).

{:.bs-callout .bs-callout-info}
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{ page.baseurl }}/install-gde/prereq/mysql_remote.html).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,27 @@ This process assumes that you have set up your [local developer workspace]({{ pa
For a new Starter Plan project, a `master` branch was cloned from the {{site.data.var.ece}} Git repository. To start branching and working with code, you need to clone the `master` branch to your local environment.

The format of the Git clone command is:
```bash
git fetch origin
```

git fetch origin
git pull origin <environment ID>

```bash
git pull origin <environment ID>
```
The first time you start working in branches for your Starter project, you need to create a `staging` branch. This creates a code branch matching the `master` branch that deploys to a Staging environment to test configuration and code changes before deploying to the Production environment.

Next, create branches from `staging` to develop code, add extensions, and configure 3rd party integrations. Anytime you need to develop custom code, add extensions, integrate with a 3rd party service, work in a development branch created from the `staging` branch. You will have four active Integration environments available. When you push an active branch, one of these Integration environments automatically deploys your code to test.

We walk you through the process when you [set up your local]({{ page.baseurl }}/cloud/setup/first-time-setup.html) environment.

The format of the Git branch command is:

git checkout <branch name>

```bash
git checkout <branch name>
```
The format of the Magento Cloud CLI branch command is:

magento-cloud environment:branch <environment name> <parent environment ID>

```bash
magento-cloud environment:branch <environment name> <parent environment ID>
```

![Branch from Master]({{ site.baseurl }}/common/images/cloud_workflow-branching.png)

Expand Down
6 changes: 2 additions & 4 deletions guides/v2.2/install-gde/prereq/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ Magento _strongly_ recommends you observe the following standard when you set up
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.

{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
implementations utilizing GTID-based replication, such as
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
{:.bs-callout .bs-callout-warning}
Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions, which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database implementations utilizing GTID-based replication, such as [Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).

{:.bs-callout .bs-callout-info}
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{ page.baseurl }}/install-gde/prereq/mysql_remote.html).
Expand Down
2 changes: 1 addition & 1 deletion guides/v2.3/comp-mgr/install-extensions/inventory-management-installation.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ For more information on configurations, see [Enabling Inventory Management](http

You may need to disable Inventory Management modules to:

* Speed up the upgrade process for merchants currently on Magento 2.0/2.1/2.2 and migrating to 2.3.0.
* Speed up the upgrade process for merchants currently on Magento 2.0.X/2.1.X/2.2.X and migrating to 2.3.X.
* Use custom or third party inventory and order management modules.
* Use [Magento Order Management](https://omsdocs.magento.com) for inventory and order management. The current Order Management connector does not support Inventory Management interfaces. We plan to support this integration in a later release.

Expand Down
2 changes: 0 additions & 2 deletions guides/v2.3/config-guide/prod/config-reference-gitignore.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ atlassian*
/.idea
/.gitattributes
/app/config_sandbox
/app/etc/config.php
/app/etc/env.php
/app/code/Magento/TestModule*
/lib/internal/flex/uploader/.actionScriptProperties
Expand Down Expand Up @@ -123,7 +122,6 @@ atlassian*
/.idea
/.gitattributes
/app/config_sandbox
/app/etc/config.php
/app/etc/env.php
/app/code/Magento/TestModule*
/lib/internal/flex/uploader/.actionScriptProperties
Expand Down
2 changes: 1 addition & 1 deletion guides/v2.3/graphql/index.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can explicitly define EAV attributes in the schema, while a module's attribu
The current GraphQL codebase also supports the following features:

* You can perform full text searches on products in a similar manner as REST and SOAP calls. You can also simultaneously perform a full text search and filter the results. This is new functionality available only with GraphQL.
* All product types are supported. Currently, previous versions supported simple and configurable products only.
* All product types are supported. Previous versions support only simple and configurable products.
* A product query returns complex price objects that include the amount, the currency code, and any adjustments.
* You can query attributes of a logged-in customer. A session token provides authorization.
* The REST and SOAP APIs had separate endpoints for searching across all products and individual products. In GraphQL, all product searches use the `products` query.
Expand Down
6 changes: 2 additions & 4 deletions guides/v2.3/install-gde/prereq/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ Magento _strongly_ recommends you observe the following standard when you set up
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.

{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
implementations utilizing GTID-based replication, such as
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
{:.bs-callout .bs-callout-warning}
Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions, which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database implementations utilizing GTID-based replication, such as [Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).

{:.bs-callout .bs-callout-info}
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{page.baseurl }}/install-gde/prereq/mysql_remote.html).
Expand Down