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

Commit b37272c

Browse files
authored
Fixed file redirects to work with versionless Cloud Guide (#6298)
Removed versioned paths from redirects
1 parent 1f6b1bb commit b37272c

33 files changed

+112
-137
lines changed

src/cloud/architecture/cloud-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Magento Commerce Cloud architecture
44
functional_areas:
55
- Cloud
66
redirect_from:
7-
- /guides/v2.2/cloud/basic-information/cloud-plans.html
7+
- /cloud/basic-information/cloud-plans.html
88
---
99

1010
{{site.data.var.ece}} has a Starter and a Pro plan. Each plan has a unique architecture to drive your {{site.data.var.ee}} development and deployment process. Both the Starter plan and the Pro plan architecture deploy databases, web server, and caching servers across multiple environments for end-to-end testing while supporting continuous integration.

src/cloud/architecture/pro-architecture.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
group: cloud-guide
33
title: Pro architecture
44
redirect_from:
5-
- /guides/v2.2/cloud/discover-arch.html
6-
- /guides/v2.2/cloud/reference/discover-arch.html
7-
- /guides/v2.3/cloud/reference/discover-arch.html
8-
- /guides/v2.2/cloud/architecture/pro-architecture-legacy.html
9-
- /guides/v2.3/cloud/architecture/pro-architecture-legacy.html
5+
- /cloud/discover-arch.html
6+
- /cloud/reference/discover-arch.html
7+
- /cloud/architecture/pro-architecture-legacy.html
108
functional_areas:
119
- Cloud
1210
---

src/cloud/architecture/pro-develop-deploy-workflow.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
group: cloud-guide
33
title: Pro develop and deploy workflow
44
redirect_from:
5-
- /guides/v2.2/cloud/discover-workflow.html
6-
- /guides/v2.2/cloud/welcome/discover-workflow.html
7-
- /guides/v2.3/cloud/welcome/discover-workflow.html
8-
- /guides/v2.2/cloud/trouble/pro-env-management.html
9-
- /guides/v2.3/cloud/trouble/pro-env-management.html
5+
- /cloud/discover-workflow.html
6+
- /cloud/welcome/discover-workflow.html
7+
- /cloud/trouble/pro-env-management.html
108
functional_areas:
119
- Cloud
1210
---

src/cloud/before/before-setup-env-2_clone.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
group: cloud-guide
33
title: Clone and branch the project
44
redirect_from:
5-
- /guides/v2.2/cloud/before/before-setup-env-keys.html
6-
- /guides/v2.2/cloud/before/before-setup-env-env.html
5+
- /cloud/before/before-setup-env-keys.html
76
functional_areas:
87
- Cloud
98
- Setup

src/cloud/before/before-setup-env-install.md

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
group: cloud-guide
33
title: Install Magento
44
redirect_from:
5-
- /guides/v2.2/cloud/before/before-setup-env-perms.html
5+
- /cloud/before/before-setup-env-perms.html
66
functional_areas:
77
- Cloud
88
- Install
@@ -21,9 +21,9 @@ With your workspace prepared, install Magento on your local to verify custom cod
2121

2222
To customize the Magento software on your local workstation, prepare the following:
2323

24-
* Hostname or IP address of your machine
25-
* Admin username, password, and URL created earlier
26-
* Magento authentication keys for installing Magento
24+
- Hostname or IP address of your machine
25+
- Admin username, password, and URL created earlier
26+
- Magento authentication keys for installing Magento
2727

2828
### List the Magento Admin environment variables
2929

@@ -80,22 +80,22 @@ After you have installed Magento, you need to set the file system permissions an
8080

8181
1. Enter the following commands in the order shown:
8282

83-
```bash
84-
cd <magento_root>
85-
```
83+
```bash
84+
cd <magento_root>
85+
```
8686

87-
```terminal
88-
find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
89-
find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
90-
```
87+
```terminal
88+
find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
89+
find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
90+
```
9191

92-
```bash
93-
chown -R :<web server group> .
94-
```
92+
```bash
93+
chown -R :<web server group> .
94+
```
9595

96-
```bash
97-
chmod u+x bin/magento
98-
```
96+
```bash
97+
chmod u+x bin/magento
98+
```
9999

100100
{% include install/file-system-perms-twouser_cmds-only.md %}
101101

@@ -105,93 +105,93 @@ Prior to installing, you should [Update installation dependencies]({{ site.baseu
105105

106106
Be ready to install Magento using one of the following options:
107107

108-
* [Install the Magento software using the command line]({{ site.baseurl }}/guides/v2.3/install-gde/install/cli/install-cli.html)
109-
* [Install the Magento software using the Web Setup Wizard]({{ site.baseurl }}/guides/v2.3/install-gde/install/web/install-web.html)
108+
- [Install the Magento software using the command line]({{ site.baseurl }}/guides/v2.3/install-gde/install/cli/install-cli.html)
109+
- [Install the Magento software using the Web Setup Wizard]({{ site.baseurl }}/guides/v2.3/install-gde/install/web/install-web.html)
110110

111111
{:.procedure}
112112
To install Magento using the command line:
113113

114114
1. Switch to the user.
115115

116-
```bash
117-
sudo su - magento
118-
```
116+
```bash
117+
sudo su - magento
118+
```
119119

120120
1. Change directories for the installation.
121121

122-
```bash
123-
cd /app/bin
124-
```
122+
```bash
123+
cd /app/bin
124+
```
125125

126126
1. Enter a CLI command with options for entering the name, email, ADMIN credentials, URL, and additional information. For a list of all options, see [Installer help commands]({{ site.baseurl }}/guides/v2.3/install-gde/install/cli/install-cli-install.html#instgde-cli-help-cmds).
127127

128-
```bash
129-
php magento setup:install \
130-
--admin-firstname=John \
131-
--admin-lastname=Smith \
132-
--admin-email=jsmith@mail.com \
133-
--admin-user=admin \
134-
--admin-password=password1 \
135-
--base-url=http://magento.local/ \
136-
--db-host=localhost \
137-
--db-name=magento \
138-
--db-user=magento \
139-
--db-password=magento \
140-
--currency=USD \
141-
--timezone=America/Chicago \
142-
--language=en_US \
143-
--use-rewrites=1
144-
```
128+
```bash
129+
php magento setup:install \
130+
--admin-firstname=John \
131+
--admin-lastname=Smith \
132+
--admin-email=jsmith@mail.com \
133+
--admin-user=admin \
134+
--admin-password=password1 \
135+
--base-url=http://magento.local/ \
136+
--db-host=localhost \
137+
--db-name=magento \
138+
--db-user=magento \
139+
--db-password=magento \
140+
--currency=USD \
141+
--timezone=America/Chicago \
142+
--language=en_US \
143+
--use-rewrites=1
144+
```
145145

146146
## Post-install configurations
147147

148148
After installing Magento, run the commands for [compile]({{ site.baseurl }}/guides/v2.3/config-guide/cli/config-cli-subcommands-compiler.html) and [deploy]({{ site.baseurl }}/guides/v2.3/config-guide/cli/config-cli-subcommands-static-view.html) for the code:
149149

150150
1. Switch to the correct user.
151151

152-
```bash
153-
sudo su - magento
154-
```
152+
```bash
153+
sudo su - magento
154+
```
155155

156156
1. Change to the `app/bin` directory.
157157

158158
1. Compile Magento.
159159

160-
```bash
161-
php magento setup:di:compile
162-
```
160+
```bash
161+
php magento setup:di:compile
162+
```
163163

164164
1. Deploy Magento
165165

166-
```bash
167-
php magento setup:static:deploy
168-
```
166+
```bash
167+
php magento setup:static:deploy
168+
```
169169

170170
Optionally, if you used Vagrant with the _hostmanager_ plugin, update the hosts file.
171171

172172
1. Access the `localdev` root for the Vagrant box.
173173

174174
1. Update the hosts file.
175175

176-
```bash
177-
vagrant hostmanager
178-
```
176+
```bash
177+
vagrant hostmanager
178+
```
179179

180180
## Additional software and services
181181

182182
For development and testing in an environment as close to Integration as possible, you may also want to install additional tools, software, and services. These services are configured using [`services.yaml`]({{ site.baseurl }}/cloud/project/project-conf-files_services.html).
183183

184-
* [Redis]({{ site.baseurl }}/cloud/project/project-conf-files_services-redis.html)
185-
* [ElasticSearch]({{ site.baseurl }}/cloud/project/project-conf-files_services-elastic.html)
186-
* [RabbitMQ]({{ site.baseurl }}/cloud/project/project-conf-files_services-rabbit.html)
187-
* [Additional software]({{ site.baseurl }}/guides/v2.3/install-gde/prereq/optional.html) for Magento
184+
- [Redis]({{ site.baseurl }}/cloud/project/project-conf-files_services-redis.html)
185+
- [ElasticSearch]({{ site.baseurl }}/cloud/project/project-conf-files_services-elastic.html)
186+
- [RabbitMQ]({{ site.baseurl }}/cloud/project/project-conf-files_services-rabbit.html)
187+
- [Additional software]({{ site.baseurl }}/guides/v2.3/install-gde/prereq/optional.html) for Magento
188188

189189
## Verify your local workspace
190190

191191
To verify the local, access the store using the URL you passed in the install command. For this example, you can access the local Magento store using the following URL formats:
192192

193-
* `http://magento.local/`
194-
* `http://magento.local/admin`
193+
- `http://magento.local/`
194+
- `http://magento.local/admin`
195195

196196
To change the URI for the Admin panel, use this command to locate it:
197197

@@ -205,12 +205,12 @@ To verify the Integration master branch environment, log into the Project Web In
205205

206206
With these steps completed, you should have:
207207

208-
* A {{site.data.var.ee}} account and initial project setup and master branch
209-
* A local workspace configured with installations of required software, Magento Cloud CLI, and Magento
210-
* SSH keys set up
211-
* The Magento file system owner configured
212-
* Your initial code branch
213-
* Magento authentication keys set up and configured in the project and local
208+
- A {{site.data.var.ee}} account and initial project setup and master branch
209+
- A local workspace configured with installations of required software, Magento Cloud CLI, and Magento
210+
- SSH keys set up
211+
- The Magento file system owner configured
212+
- Your initial code branch
213+
- Magento authentication keys set up and configured in the project and local
214214

215215
{:.ref-header}
216216
Next step

src/cloud/before/before-workspace-magento-prereqs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
group: cloud-guide
33
title: Install Magento prerequisites
44
redirect_from:
5-
- /guides/v2.2/cloud/before/before-workspace-php.html
6-
- /guides/v2.2/cloud/before/before-workspace-cli.html
5+
- /cloud/before/before-workspace-php.html
6+
- /cloud/before/before-workspace-cli.html
77
functional_areas:
88
- Cloud
99
- Setup

src/cloud/before/before-workspace-ssh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
group: cloud-guide
33
title: Enable SSH keys
44
redirect_from:
5-
- /guides/v2.2/cloud/before/before-setup-env-1_get-start.html
5+
- /cloud/before/before-setup-env-1_get-start.html
66
functional_areas:
77
- Cloud
88
- Setup

src/cloud/cdn/cloud-fastly-custom-response.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
group: cloud-guide
33
title: Customize error pages
44
redirect_from:
5-
- /guides/v2.2/cloud/configure/fastly-vcl-extend-timeout.html
6-
- /guides/v2.3/cloud/configure/fastly-vcl-extend-timeout.html
5+
- /cloud/configure/fastly-vcl-extend-timeout.html
76
functional_areas:
87
- Cloud
98
- Setup

src/cloud/cdn/cloud-vcl-custom-snippets.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
group: cloud-guide
33
title: Custom Fastly VCL snippets
44
redirect_from:
5-
- /guides/v2.2/cloud/configure/cloud-vcl-custom-snippets.html
6-
- /guides/v2.3/cloud/configure/cloud-vcl-custom-snippets.html
5+
- /cloud/configure/cloud-vcl-custom-snippets.html
76
functional_areas:
87
- Cloud
98
- Setup
@@ -199,7 +198,9 @@ In the JSON response, the version number is incremented, and the *active* key va
199198

200199
Save the new version number in a bash environment variable for use in subsequent commands:
201200

202-
```export FASTLY_EDIT_VERSION=<Version>```
201+
```bash
202+
export FASTLY_EDIT_VERSION=<Version>
203+
```
203204

204205
#### Step 3: Create a custom VCL snippets {#create-snippet}
205206

src/cloud/cdn/configure-fastly.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
group: cloud-guide
33
title: Set up Fastly
44
redirect_from:
5-
- /guides/v2.2/cloud/configure/fastly-vcl-extend-timeout.html
6-
- /guides/v2.3/cloud/configure/fastly-vcl-extend-timeout.html
7-
- /guides/v2.2/cloud/access-acct/fastly.html
8-
- /guides/v2.3/cloud/access-acct/fastly.html
5+
- /cloud/configure/fastly-vcl-extend-timeout.html
6+
- /cloud/access-acct/fastly.html
97
functional_areas:
108
- Cloud
119
- Setup

0 commit comments

Comments
 (0)