-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from ByteInternet/how-to-install-mag2-docs-ou…
…tdated-repo update CLI commands to fix outdated Mag2 version
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,12 +93,10 @@ [email protected]:~$ 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) | ||
|
@@ -110,6 +108,7 @@ echo "create database magento2" | mysql | |
### Enable the Magento 2 Management Tool | ||
|
||
``` | ||
cd ~/magento2 | ||
chmod 755 bin/magento | ||
``` | ||
|
||
|