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

Commit 1d6fa18

Browse files
author
Lori Krell
committed
Add migration info
1 parent 12739de commit 1d6fa18

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

guides/v2.1/cloud/live/sens-data-over.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ It provides the following benefits:
2424
These new methods are optional but strongly recommended. The process ensures faster deployments and consistent configurations across your environments.
2525
</div>
2626

27-
<div class="bs-callout bs-callout-info" markdown="1">
28-
If you used configuration management in 2.1, this process is similar in 2.2. The name of the file has changed to `config.php` and updating the file changed. You can [migrate](#migrate) your `config.local.php` settings to a new `config.php`.
29-
</div>
30-
3127
## Feature availability {#release}
3228
Configuration management was released in `magento-cloud-configuration` 101.4.1 on {{site.data.var.ece}} 2.1.4 and later. The options and functions differ in {{site.data.var.ece}} 2.2. We provide recommendations for {{site.data.var.ece}} deployments in this section.
3329

@@ -187,18 +183,5 @@ To complete extensive changes:
187183
While you can manually edit `config.local.php` in Staging and Production, we don't recommend it. The file helps keep all of your configurations consistent across all of your environments.
188184
</div>
189185

190-
## Migrate config.local.php to config.php {#migrate}
191-
If you upgrade to {{site.data.var.ece}} 2.2 or later, you may want to migrate settings from `config.local.php` to your new `config.php` file. If the configuration settings in your Magento Admin match the contents of the file, you can follow the instructions to generate and add `config.php`.
192-
193-
If they differ, you can append content from `config.local.php` to your new `config.php` file:
194-
195-
1. Follow instructions to generate the `config.php` file using the [recommended method](#cloud-config-specific-recomm).
196-
2. Open `config.php`and delete the last line.
197-
3. Open `config.local.php`and copy the contents.
198-
4. Paste the contents into `config.php`, save, and complete adding it to Git.
199-
5. Deploy across your environments.
200-
201-
You only need to complete this migration once. When you need to update the file, you will always update the new `config.php`.
202-
203186
#### Next step
204187
[Example of managing system-specific settings]({{ page.baseurl }}cloud/live/sens-data-initial.html)

guides/v2.2/cloud/live/sens-data-over.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ It provides the following benefits:
2626
These new methods are optional but strongly recommended. The process ensures faster deployments and consistent configurations across your environments.
2727
</div>
2828

29+
<div class="bs-callout bs-callout-info" markdown="1">
30+
If you used configuration management in 2.1, this process is similar in 2.2. The name of the file has changed to `config.php` and updating the file changed. You can [migrate](#migrate) your `config.local.php` settings to a new `config.php`.
31+
</div>
32+
2933
## Feature availability {#release}
3034
Configuration management was released in `magento-cloud-configuration` 101.4.1 on {{site.data.var.ece}} 2.1.4 and later. The options and functions differ in {{site.data.var.ece}} 2.2. We provide recommendations for {{site.data.var.ece}} deployments in this section.
3135

@@ -187,5 +191,18 @@ To complete extensive changes:
187191
While you can manually edit `config.php` in Staging and Production, we don't recommend it. The file helps keep all of your configurations consistent across all of your environments.
188192
</div>
189193

194+
## Migrate config.local.php to config.php {#migrate}
195+
If you upgrade to {{site.data.var.ece}} 2.2 or later, you may want to migrate settings from `config.local.php` to your new `config.php` file. If the configuration settings in your Magento Admin match the contents of the file, you can follow the instructions to generate and add `config.php`.
196+
197+
If they differ, you can append content from `config.local.php` to your new `config.php` file:
198+
199+
1. Follow instructions to generate the `config.php` file using the [recommended method](#cloud-config-specific-recomm).
200+
2. Open `config.php`and delete the last line.
201+
3. Open `config.local.php`and copy the contents.
202+
4. Paste the contents into `config.php`, save, and complete adding it to Git.
203+
5. Deploy across your environments.
204+
205+
You only need to complete this migration once. When you need to update the file, you will always update the new `config.php`.
206+
190207
#### Next step
191208
[Example of managing system-specific settings]({{ page.baseurl }}cloud/live/sens-data-initial.html)

0 commit comments

Comments
 (0)