Download Video
STEP 1: INSTALL COMPOSER
Create a blank directory, where you want to install magento2.
Open Command Prompt and type:
cd path_to_your_magento2_directory
If you have curl, you can use this command:
curl -sS https://getcomposer.org/installer | php
OR
php -r "readfile('https://getcomposer.org/installer');" | php
If you are using window platform, then you can download composer installer from https://getcomposer.org/download/
You can check if composer is installed, by running this command:
composer –help
If command help displays, Composer is installed; You are ready to go to next step.
STEP 2: Using composer to download, This step cant be used for windows or mac, so skip this and go to Download using Gits step for windows and mac or if you dont want to download using composer
Go to https://www.magentocommerce.com/magento-connect/customer/account/login/
Register for a new account, if already registered then login with your email id and password
Go to My Account - Developers - Secure keys
Generate a new key.
2 Keys will be generated, 1 Public and 1 Private.
Public key will be your username and Private key will be your password.
Run this command on command prompt magento2 directory:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition installation directory name
Where installation directory name is the folder name where you want to create project, if not given then project will be created in project-community-edition directory
it will ask for username and password, which is public and private key respectively that you had generated in earlier step.
STEP 2: Download using Gits
Download git.exe from https://git-scm.com/download and install
Right click on folder and Run Git bash
Enter this command:
cd ~/.ssh && ssh-keygen
cat id_rsa.pub
Public key will be generated, that need to be entered in your account at github.com-Settings-SSH Keys
Enter following command it will download magento 2 in your system.
git clone git@github.com:magento/magento2.git
After 100% download, go to magento2 folder and run command:
composer install
Check file permission, it should be 770 for folders and 660 for files
Go to your browser 127.0.0.1/magento2-develop/setup
Rabu, 25 November 2015
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar