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.
{{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.
@@ -21,9 +21,9 @@ With your workspace prepared, install Magento on your local to verify custom cod
21
21
22
22
To customize the Magento software on your local workstation, prepare the following:
23
23
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
27
27
28
28
### List the Magento Admin environment variables
29
29
@@ -80,22 +80,22 @@ After you have installed Magento, you need to set the file system permissions an
80
80
81
81
1. Enter the following commands in the order shown:
82
82
83
-
```bash
84
-
cd<magento_root>
85
-
```
83
+
```bash
84
+
cd<magento_root>
85
+
```
86
86
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
+
```
91
91
92
-
```bash
93
-
chown -R :<web server group>.
94
-
```
92
+
```bash
93
+
chown -R :<web server group>.
94
+
```
95
95
96
-
```bash
97
-
chmod u+x bin/magento
98
-
```
96
+
```bash
97
+
chmod u+x bin/magento
98
+
```
99
99
100
100
{% include install/file-system-perms-twouser_cmds-only.md %}
101
101
@@ -105,93 +105,93 @@ Prior to installing, you should [Update installation dependencies]({{ site.baseu
105
105
106
106
Be ready to install Magento using one of the following options:
107
107
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)
110
110
111
111
{:.procedure}
112
112
To install Magento using the command line:
113
113
114
114
1. Switch to the user.
115
115
116
-
```bash
117
-
sudo su - magento
118
-
```
116
+
```bash
117
+
sudo su - magento
118
+
```
119
119
120
120
1. Change directories for the installation.
121
121
122
-
```bash
123
-
cd /app/bin
124
-
```
122
+
```bash
123
+
cd /app/bin
124
+
```
125
125
126
126
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).
127
127
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
+
```
145
145
146
146
## Post-install configurations
147
147
148
148
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:
149
149
150
150
1. Switch to the correct user.
151
151
152
-
```bash
153
-
sudo su - magento
154
-
```
152
+
```bash
153
+
sudo su - magento
154
+
```
155
155
156
156
1. Change to the `app/bin` directory.
157
157
158
158
1. Compile Magento.
159
159
160
-
```bash
161
-
php magento setup:di:compile
162
-
```
160
+
```bash
161
+
php magento setup:di:compile
162
+
```
163
163
164
164
1. Deploy Magento
165
165
166
-
```bash
167
-
php magento setup:static:deploy
168
-
```
166
+
```bash
167
+
php magento setup:static:deploy
168
+
```
169
169
170
170
Optionally, if you used Vagrant with the _hostmanager_ plugin, update the hosts file.
171
171
172
172
1. Access the `localdev` root for the Vagrant box.
173
173
174
174
1. Update the hosts file.
175
175
176
-
```bash
177
-
vagrant hostmanager
178
-
```
176
+
```bash
177
+
vagrant hostmanager
178
+
```
179
179
180
180
## Additional software and services
181
181
182
182
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).
-[Additional software]({{ site.baseurl }}/guides/v2.3/install-gde/prereq/optional.html) for Magento
188
188
189
189
## Verify your local workspace
190
190
191
191
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:
192
192
193
-
*`http://magento.local/`
194
-
*`http://magento.local/admin`
193
+
-`http://magento.local/`
194
+
-`http://magento.local/admin`
195
195
196
196
To change the URI for the Admin panel, use this command to locate it:
197
197
@@ -205,12 +205,12 @@ To verify the Integration master branch environment, log into the Project Web In
205
205
206
206
With these steps completed, you should have:
207
207
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
0 commit comments