Skip to content

Commit

Permalink
Merge pull request #279 from ByteInternet/how-to-install-mag2-docs-ou…
Browse files Browse the repository at this point in the history
…tdated-repo

update CLI commands to fix outdated Mag2 version
  • Loading branch information
tdgroot authored Sep 19, 2024
2 parents e426754 + be247e1 commit c39060d
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,10 @@ app@appname.hypernode.io:~$ ls /data/web # See the magento2 directory and the co

## Install Magento 2 Using the Command Line

### Download and Unzip the Latest Release to /data/web/magento2
### Create project from a certain release to /data/web/magento2

```
mkdir ~/magento2
cd ~/magento2
wget -qO- https://magento.mirror.hypernode.com/releases/magento2-latest.tar.gz | tar xfz -
composer create-project --repository-url=https://mage-os.hypernode.com/mirror/ magento/project-community-edition /data/web/magento2
```

### Create a Database (In This Example, We Named the Database ‘magento2’, but You Can Name It However You Like)
Expand All @@ -110,6 +108,7 @@ echo "create database magento2" | mysql
### Enable the Magento 2 Management Tool

```
cd ~/magento2
chmod 755 bin/magento
```

Expand Down

0 comments on commit c39060d

Please sign in to comment.