You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: guides/v2.2/cloud/basic-information/starter-architecture.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -74,19 +74,19 @@ The Production and Staging environments include the following technologies. You
74
74
75
75
Each service runs in its own secure container. Containers are managed together in the project. Some services are built-in, such as the following:
76
76
77
-
*HTTP router (handling incoming requests, but also caching and redirects)
78
-
*PHP application server
79
-
*Git
80
-
*Secure Shell (SSH)
77
+
*HTTP router (handling incoming requests, but also caching and redirects)
78
+
*PHP application server
79
+
*Git
80
+
*Secure Shell (SSH)
81
81
82
82
You can even have multiple applications running in the same project. Building a microservice oriented architecture with {{site.data.var.ee}} is as easy as managing a monolithic application.
Copy file name to clipboardExpand all lines: guides/v2.2/cloud/before/before-setup-env-2_clone.md
+57-57Lines changed: 57 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -23,52 +23,52 @@ Some Git commands cannot complete an action in your {{site.data.var.ece}} projec
23
23
24
24
#### To clone a project master environment:
25
25
26
-
1.Log in to your local workstation with a [Magento file system owner]({{ page.baseurl }}/cloud/before/before-workspace-file-sys-owner.html) account.
26
+
1. Log in to your local workstation with a [Magento file system owner]({{ page.baseurl }}/cloud/before/before-workspace-file-sys-owner.html) account.
27
27
28
-
1.Change to the web server or virtual host _docroot_ directory.
28
+
1. Change to the web server or virtual host _docroot_ directory.
29
29
30
-
1.Log in to the Magento Cloud CLI.
30
+
1. Log in to the Magento Cloud CLI.
31
31
32
-
```bash
33
-
magento-cloud login
34
-
```
32
+
```bash
33
+
magento-cloud login
34
+
```
35
35
36
-
1. List your projects.
36
+
1. List your projects.
37
37
38
-
```bash
39
-
magento-cloud project:list
40
-
```
38
+
```bash
39
+
magento-cloud project:list
40
+
```
41
41
42
-
1. Clone a project.
42
+
1. Clone a project.
43
43
44
-
```bash
45
-
magento-cloud project:get <project-ID>
46
-
```
44
+
```bash
45
+
magento-cloud project:get <project-ID>
46
+
```
47
47
48
-
When prompted for a directory name, enter `magento2`.
48
+
When prompted for a directory name, enter `magento2`.
49
49
50
-
1. Change to the `magento2` directory.
50
+
1. Change to the `magento2` directory.
51
51
52
-
1. List available environments for the project.
52
+
1. List available environments for the project.
53
53
54
-
```bash
55
-
magento-cloud environment:list
56
-
```
54
+
```bash
55
+
magento-cloud environment:list
56
+
```
57
57
58
-
{:.bs-callout .bs-callout-info}
59
-
The `magento-cloud environment:list`command displays environment hierarchies, whereas the `git branch`command does not.
58
+
{:.bs-callout .bs-callout-info}
59
+
The `magento-cloud environment:list` command displays environment hierarchies, whereas the `git branch` command does not.
60
60
61
-
1. Fetch the remote branches.
61
+
1. Fetch the remote branches.
62
62
63
-
```bash
64
-
git fetch magento
65
-
```
63
+
```bash
64
+
git fetch magento
65
+
```
66
66
67
-
1. Pull updated code.
67
+
1. Pull updated code.
68
68
69
-
```bash
70
-
git pull magento <environment-ID>
71
-
```
69
+
```bash
70
+
git pull magento <environment-ID>
71
+
```
72
72
73
73
## Change the Magento ADMIN variables
74
74
@@ -79,7 +79,7 @@ We recommend changing the environment-level variables for the Magento Admin URL
79
79
-**ADMIN_PASSWORD**—A password for the administrative user. When the project was created, the License Owner received a default password in email.
80
80
-**ADMIN_URL**— The relative URL to access the Admin panel, such as `<domain>/admin`. For security reasons, we recommend you choose a value other than `admin` or `backend` or another term that is easy to guess.
81
81
82
-
{:.bs-callout .bs-callout-info}
82
+
{: .bs-callout-info}
83
83
Make note of any updated values so that you can use them to install Magento from the command line and to verify the installation. The values for the `ADMIN_EMAIL`, `ADMIN_USERNAME`, and `ADMIN_PASSWORD` variables are used only for installation.
84
84
85
85
#### To view existing variables: {#variablelist}
@@ -128,56 +128,56 @@ Every time you add or modify a variable using the web interface or the CLI, the
128
128
129
129
Alternatively, you can add or update variables in the Project Web Interface.
130
130
131
-
1. Log in to [your {{site.data.var.ece}} account](https://accounts.magento.cloud).
131
+
1. Log in to [your {{site.data.var.ece}} account](https://accounts.magento.cloud).
132
132
133
-
1. Click the **Configure environment** gear icon  next to the Project name.
133
+
1. Click the **Configure environment** gear icon  next to the Project name.
134
134
135
-

135
+

136
136
137
-
1. Select the **Variables** tab.
137
+
1. Select the **Variables** tab.
138
138
139
-
1. Click **Add Variable**.
139
+
1. Click **Add Variable**.
140
140
141
-
1. Enter the **Name** and **Value**for the variable. For example, enter `ADMIN_EMAIL` and your License Owner email address or another accessible email for resetting the password for the default admin account.
141
+
1. Enter the **Name** and **Value** for the variable. For example, enter `ADMIN_EMAIL` and your License Owner email address or another accessible email for resetting the password for the default admin account.
1. Click **Add variable**. After you add the variable, waituntil deployment completes.
145
+
1. Click **Add variable**. After you add the variable, wait until deployment completes.
146
146
147
147
## Create a branch for development {#branch}
148
148
149
149
After cloning your project and updating the Magento administrator account configuration, you can branch for development. As stated earlier, you must create an environment using the `magento-cloud environment:branch <branch-name>` command or the Project Web Interface for the environment to become _active_.
150
150
151
151
- For [Starter]({{ page.baseurl }}/cloud/basic-information/starter-develop-deploy-workflow.html#clone-branch), consider creating a branch for `staging`, then create a development branch based on the `staging` branch.
152
-
* For [Pro]({{ page.baseurl }}/cloud/architecture/pro-develop-deploy-workflow.html), create development branches based on the Integration environment.
152
+
- For [Pro]({{ page.baseurl }}/cloud/architecture/pro-develop-deploy-workflow.html), create development branches based on the Integration environment.
Copy file name to clipboardExpand all lines: guides/v2.2/cloud/before/before-workspace-file-sys-owner.md
+41-24Lines changed: 41 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -24,68 +24,85 @@ Create the Magento file system owner with a strong password. Magento file system
24
24
25
25
To create the Magento file system owner, enter the following command as a user with `root` privileges:
26
26
27
-
adduser <username>
27
+
```bash
28
+
adduser <username>
29
+
```
28
30
29
31
To give the user a password, enter the following command as a user with `root` privileges:
30
32
31
-
passwd <username>
33
+
```bash
34
+
passwd <username>
35
+
```
32
36
33
37
Follow the prompts on your screen to create a password for the user.
34
38
35
-
{: .bs-callout .bs-callout-warning}
39
+
{: .bs-callout-warning}
36
40
If you do not have `root` privileges on your Magento server, you can use another local user account. Confirm that the user has a strong password and continue with [Put the Magento file system owner in the web server group](#install-update-depend-user-add2group).
37
41
38
42
For example, to create a user named `magento_user` and give the user a password, enter:
39
43
40
-
sudo adduser magento_user
41
-
sudo passwd magento_user
44
+
```bash
45
+
sudo adduser magento_user
46
+
```
42
47
43
-
{: .bs-callout .bs-callout-warning}
48
+
```bash
49
+
sudo passwd magento_user
50
+
```
51
+
52
+
{: .bs-callout-warning }
44
53
Because the point of creating this user is to provide added security, it is essential that you create a strong password.
45
54
46
55
## Find the web server user's group {#install-update-depend-user-findgroup}
0 commit comments