Skip to content

Commit

Permalink
Merge pull request #93 from Websoft9/laozhou0731-patch-6
Browse files Browse the repository at this point in the history
Update readme.md
  • Loading branch information
chendelin1982 committed Sep 13, 2023
2 parents 215ed3f + ad6e462 commit 3892bf1
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ Taking **SendGrid's SMTP Service** as an example, refer to the following steps t
2. Make sure your Magento is [linking Magento's Marketplace](#link-magento-marketplace)
3. Connect Server, use below commands for installing Magento SMTP module
```
cd /data/wwwroot/magento`
docker exec -it magento bash #Enter into Magento docker container
cd /bitnami/magento/
composer require mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:di:compile
Expand Down Expand Up @@ -173,7 +174,8 @@ Complete **[Five steps for Domain](./administrator/domain_step)** ,Set the URL
Connect to server via SSH and run CLI commands to configure parameters

```shell
cd /data/wwwroot/magento
docker exec -it magento bash #Enter into Magento docker container
cd /bitnami/magento/
php bin/magento config:set web/unsecure/base_url http://www.mydomain.com/
php bin/magento config:set web/secure/base_url http://www.mydomain.com/
```
Expand All @@ -183,7 +185,8 @@ Connect to server via SSH and run CLI commands to configure parameters
**[Standard HTTPS Configuration](./administrator/domain_https)** Once complete, you also need to run the following CLI command to configure:

```
cd /data/wwwroot/magento
docker exec -it magento bash #Enter into Magento docker container
cd /bitnami/magento/
php bin/magento setup:store-config:set --use-secure=1 --use-secure-admin=1 --base-url-secure="https://www.yourdomain.com/"
php bin/magento cache:flush
```
Expand All @@ -200,10 +203,8 @@ CONTAINER ID IMAGE COMMAND CREATED

### Path{#path}

Magento installation directory: */data/wwwroot/magento*
Magento configuration file: */data/wwwroot/magento/app/etc/env.php*
Magento languag directory: */data/wwwroot/magento/vendor/magento/language-zh_hans_cn*
Magento CLI:* /data/wwwroot/magento/bin/magento*
Magento installation directory: */data/apps/magento*
Magento data directory: */data/apps/magento/data*

> The Magento configuration file contains database connection information, and the MySQL database account password has been changed, which also needs to be changed here
Expand All @@ -219,13 +220,13 @@ Magento CLI:* /data/wwwroot/magento/bin/magento*
### Version{#version}

```shell
magento -V
sudo docker exec -it magento magento -V
```

### Service{#service}

```shell
systemctl start | stop | restart | status magento
docker start | stop | restart magento
```

### CLI{#cli}
Expand Down Expand Up @@ -399,4 +400,4 @@ Available commands:

Support for both REST (Representational State Transfer) and SOAP (Simple Object Access Protocol). In Magento 2, the web API coverage is the same for both REST and SOAP.

Refer to Magento [API official docs](https://devdocs.magento.com/guides/v2.2/get-started/bk-get-started-api.html)
Refer to Magento [API official docs](https://devdocs.magento.com/guides/v2.2/get-started/bk-get-started-api.html)

0 comments on commit 3892bf1

Please sign in to comment.